diff options
| -rw-r--r-- | tests/modules/pkg1/__init__.py | 4 | ||||
| -rw-r--r-- | tests/test_summary.py | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/modules/pkg1/__init__.py b/tests/modules/pkg1/__init__.py index e2e4af5..3390a85 100644 --- a/tests/modules/pkg1/__init__.py +++ b/tests/modules/pkg1/__init__.py @@ -1,4 +1,2 @@ -# This __init__.py has a module-level docstring, which is counted as a -# statement. -"""A simple package for testing with.""" +# A simple package for testing with. print("pkg1.__init__: %s" % (__name__,)) diff --git a/tests/test_summary.py b/tests/test_summary.py index af1fb9b..e5f470f 100644 --- a/tests/test_summary.py +++ b/tests/test_summary.py @@ -617,7 +617,7 @@ class SummaryTest2(UsingModulesMixin, CoverageTest): report = repout.getvalue().replace('\\', '/') report = re.sub(r"\s+", " ", report) - self.assertIn("tests/modules/pkg1/__init__.py 2 0 0 0 100%", report) + self.assertIn("tests/modules/pkg1/__init__.py 1 0 0 0 100%", report) self.assertIn("tests/modules/pkg2/__init__.py 0 0 0 0 100%", report) |
