summaryrefslogtreecommitdiff
path: root/tests/test_backward.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-03-06 09:33:47 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-03-11 06:38:35 -0500
commitaf234f4a2a08dc1616c2270df6349925221c81e8 (patch)
tree71f7946c36f189d67e9b2e50a4f80799c3d3df27 /tests/test_backward.py
parent26e2f9b6f22fd29efe3e4bd7df63acc144950c80 (diff)
downloadpython-coveragepy-git-af234f4a2a08dc1616c2270df6349925221c81e8.tar.gz
test: have pytest collect test classes uniformly
Diffstat (limited to 'tests/test_backward.py')
-rw-r--r--tests/test_backward.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_backward.py b/tests/test_backward.py
index d750022b..b40a174b 100644
--- a/tests/test_backward.py
+++ b/tests/test_backward.py
@@ -3,13 +3,13 @@
"""Tests that our version shims in backward.py are working."""
-import unittest
-
from coverage.backward import iitems, binary_bytes, bytes_to_ints
+from tests.coveragetest import CoverageTest
from tests.helpers import assert_count_equal
-class BackwardTest(unittest.TestCase):
+
+class BackwardTest(CoverageTest):
"""Tests of things from backward.py."""
def test_iitems(self):