From 25ef14c52abbac9c136fdb674ad0fa1b5ecc847f Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 3 Nov 2018 17:51:40 -0400 Subject: Everything should get a docstring --- tests/coveragetest.py | 1 + tests/test_html.py | 1 + 2 files changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/coveragetest.py b/tests/coveragetest.py index e97f914b..08edd62f 100644 --- a/tests/coveragetest.py +++ b/tests/coveragetest.py @@ -97,6 +97,7 @@ class CoverageTest( 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)) diff --git a/tests/test_html.py b/tests/test_html.py index 8c6dc693..ad8087fd 100644 --- a/tests/test_html.py +++ b/tests/test_html.py @@ -764,6 +764,7 @@ assert len(math) == 18 ) def make_main_etc(self): + """Make main.py and m1-m3.py for other tests.""" self.make_file("main.py", """\ import m1 import m2 -- cgit v1.2.1