summaryrefslogtreecommitdiff
path: root/tests/test_api.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-03-11 15:25:11 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-03-11 15:25:11 -0500
commit1bdcc691f5127edf9f197f8b509a2eeff51edcd6 (patch)
tree60fdc179154ae813e53abc0493b9b01eb9e933ab /tests/test_api.py
parentd2985974a0fba46df7552a9958c7f9ef34f75868 (diff)
downloadpython-coveragepy-git-1bdcc691f5127edf9f197f8b509a2eeff51edcd6.tar.gz
test: simplify how StopEverything is converted to skipnedbat/remove-unittest-testcase
The auto-decorating metaclass was interfering with parameterized methods on Python 2.7. But we don't need it anymore anyway, since pytest will let us hook to deal with the exception in a simpler way.
Diffstat (limited to 'tests/test_api.py')
-rw-r--r--tests/test_api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index a865c24c..3a5c86ac 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -22,7 +22,7 @@ from coverage.data import line_counts
from coverage.files import abs_file, relative_filename
from coverage.misc import CoverageException
-from tests.coveragetest import CoverageTest, StopEverythingMixin, TESTS_DIR, UsingModulesMixin
+from tests.coveragetest import CoverageTest, TESTS_DIR, UsingModulesMixin
from tests.helpers import assert_count_equal
@@ -789,7 +789,7 @@ class NamespaceModuleTest(UsingModulesMixin, CoverageTest):
cov.report()
-class IncludeOmitTestsMixin(UsingModulesMixin, StopEverythingMixin):
+class IncludeOmitTestsMixin(UsingModulesMixin, CoverageTest):
"""Test methods for coverage methods taking include and omit."""
# We don't write any source files, but the data file will collide with