summaryrefslogtreecommitdiff
path: root/tests/test_mixins.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-10-14 20:03:57 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-10-14 20:03:57 -0400
commit4a5cf280fe8622a4ccd03c07cdd6adf3207df20f (patch)
tree513d76089b6af0bacfa282ab4418dd554e1f3b57 /tests/test_mixins.py
parentec9070f1387e9713236f3b8c47447df44447df23 (diff)
downloadpython-coveragepy-git-4a5cf280fe8622a4ccd03c07cdd6adf3207df20f.tar.gz
test: we don't need two sys.path restorers
Diffstat (limited to 'tests/test_mixins.py')
-rw-r--r--tests/test_mixins.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_mixins.py b/tests/test_mixins.py
index 1483b1a2..5692c334 100644
--- a/tests/test_mixins.py
+++ b/tests/test_mixins.py
@@ -7,7 +7,7 @@ import pytest
from coverage.misc import import_local_file
-from tests.mixins import TempDirMixin, SysPathModulesMixin
+from tests.mixins import TempDirMixin, RestoreModulesMixin
class TempDirMixinTest(TempDirMixin):
@@ -59,7 +59,7 @@ class TempDirMixinTest(TempDirMixin):
assert data == b"\x99\x33\x66hello\0"
-class SysPathModulessMixinTest(TempDirMixin, SysPathModulesMixin):
+class RestoreModulessMixinTest(TempDirMixin, RestoreModulesMixin):
"""Tests of SysPathModulesMixin."""
@pytest.mark.parametrize("val", [17, 42])