Skip to content

Commit

Permalink
Everything should get a docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Nov 3, 2018
1 parent d8f1d92 commit 25ef14c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/coveragetest.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def setUp(self):
self.last_module_name = None

def skip_unless_data_storage_is(self, storage):
"""Skip a test for tests that are particular about the storage implementation."""
if STORAGE != storage:
self.skipTest("Not using {} for data storage".format(storage))

Expand Down
1 change: 1 addition & 0 deletions tests/test_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,7 @@ def test_isolatin1(self):
)

def make_main_etc(self):
"""Make main.py and m1-m3.py for other tests."""
self.make_file("main.py", """\
import m1
import m2
Expand Down

0 comments on commit 25ef14c

Please sign in to comment.