summaryrefslogtreecommitdiff
path: root/tests/test_api.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2017-01-25 19:14:18 -0500
committerNed Batchelder <ned@nedbatchelder.com>2017-01-25 19:14:18 -0500
commit2d124b93708636179f5c611eb698ac68901c5931 (patch)
treec9a8f8307b9d06c803ad992234736e2a4e1d9a8a /tests/test_api.py
parent0c2166d7f7a438f3c35f30ebdaf0bf5ee8ed91b7 (diff)
downloadpython-coveragepy-git-2d124b93708636179f5c611eb698ac68901c5931.tar.gz
Use a metaclass to convert StopEverything to SkipTest
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 71d3fd6f..6d87fc01 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -15,7 +15,7 @@ from coverage.backward import StringIO
from coverage.misc import CoverageException
from coverage.report import Reporter
-from tests.coveragetest import CoverageTest
+from tests.coveragetest import CoverageTest, CoverageTestMethodsMixin
class ApiTest(CoverageTest):
@@ -385,7 +385,7 @@ class UsingModulesMixin(object):
sys.path.append("../moremodules")
-class OmitIncludeTestsMixin(UsingModulesMixin):
+class OmitIncludeTestsMixin(UsingModulesMixin, CoverageTestMethodsMixin):
"""Test methods for coverage methods taking include and omit."""
def filenames_in(self, summary, filenames):