summaryrefslogtreecommitdiff
path: root/tests/test_api.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-02-02 09:04:58 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-02-02 09:04:58 -0500
commit9012623110f49635fff61d19a4f5bb779de91b99 (patch)
tree8b540954cbe2b6446f991d30dfc268fc6c039531 /tests/test_api.py
parent53354d78837de6b94833052ff1ca3d2797e7549e (diff)
downloadpython-coveragepy-git-9012623110f49635fff61d19a4f5bb779de91b99.tar.gz
refactor: move test mixins to their own file
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 bce431f3..6c322795 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, CoverageTestMethodsMixin, TESTS_DIR, UsingModulesMixin
+from tests.coveragetest import CoverageTest, StopEverythingMixin, TESTS_DIR, UsingModulesMixin
class ApiTest(CoverageTest):
@@ -794,7 +794,7 @@ class NamespaceModuleTest(UsingModulesMixin, CoverageTest):
cov.report()
-class IncludeOmitTestsMixin(UsingModulesMixin, CoverageTestMethodsMixin):
+class IncludeOmitTestsMixin(UsingModulesMixin, StopEverythingMixin):
"""Test methods for coverage methods taking include and omit."""
# We don't write any source files, but the data file will collide with