diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-03-11 15:25:11 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-03-11 15:25:11 -0500 |
commit | 1bdcc691f5127edf9f197f8b509a2eeff51edcd6 (patch) | |
tree | 60fdc179154ae813e53abc0493b9b01eb9e933ab /tests/coveragetest.py | |
parent | d2985974a0fba46df7552a9958c7f9ef34f75868 (diff) | |
download | python-coveragepy-git-nedbat/remove-unittest-testcase.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/coveragetest.py')
-rw-r--r-- | tests/coveragetest.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py index c52892b5..f08de798 100644 --- a/tests/coveragetest.py +++ b/tests/coveragetest.py @@ -23,10 +23,7 @@ from coverage.cmdline import CoverageScript from tests.helpers import arcs_to_arcz_repr, arcz_to_arcs, assert_count_equal from tests.helpers import run_command, SuperModuleCleaner -from tests.mixins import ( - StdStreamCapturingMixin, StopEverythingMixin, - TempDirMixin, PytestBase, -) +from tests.mixins import StdStreamCapturingMixin, TempDirMixin, PytestBase # Status returns for the command line. @@ -39,7 +36,6 @@ TESTS_DIR = os.path.dirname(__file__) class CoverageTest( StdStreamCapturingMixin, TempDirMixin, - StopEverythingMixin, PytestBase, ): """A base class for coverage.py test cases.""" |