summaryrefslogtreecommitdiff
path: root/tests/test_summary.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-03-06 09:33:47 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-03-11 06:38:35 -0500
commitaf234f4a2a08dc1616c2270df6349925221c81e8 (patch)
tree71f7946c36f189d67e9b2e50a4f80799c3d3df27 /tests/test_summary.py
parent26e2f9b6f22fd29efe3e4bd7df63acc144950c80 (diff)
downloadpython-coveragepy-git-af234f4a2a08dc1616c2270df6349925221c81e8.tar.gz
test: have pytest collect test classes uniformly
Diffstat (limited to 'tests/test_summary.py')
-rw-r--r--tests/test_summary.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/test_summary.py b/tests/test_summary.py
index 8596c45c..13daca14 100644
--- a/tests/test_summary.py
+++ b/tests/test_summary.py
@@ -774,15 +774,6 @@ class SummaryTest(UsingModulesMixin, CoverageTest):
report = self.get_report(cov).splitlines()
assert "mod.py 1 0 100%" in report
-
-class SummaryTest2(UsingModulesMixin, CoverageTest):
- """Another bunch of summary tests."""
- # This class exists because tests naturally clump into classes based on the
- # needs of their setUp, rather than the product features they are testing.
- # There's probably a better way to organize these.
-
- run_in_temp_dir = False
-
def test_empty_files(self):
# Shows that empty files like __init__.py are listed as having zero
# statements, not one statement.
@@ -835,7 +826,7 @@ class ReportingReturnValueTest(CoverageTest):
assert round(abs(val-85.7), 1) == 0
-class TestSummaryReporterConfiguration(CoverageTest):
+class SummaryReporterConfigurationTest(CoverageTest):
"""Tests of SummaryReporter."""
def make_rigged_file(self, filename, stmts, miss):