summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-02-06 07:21:13 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-02-06 07:38:49 -0500
commit2e4b2977c78e254797d07c39e933fd535d4b0cec (patch)
tree568340a9837fabafee6a818db905d8ec15112d8d /tests/conftest.py
parentb7160a896252bb92ffe921a37e3cde98c5cb78b9 (diff)
downloadpython-coveragepy-git-2e4b2977c78e254797d07c39e933fd535d4b0cec.tar.gz
refactor: remove unittest.assertCountEqual
Another step toward removing unittest.TestCase.
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index c2e0a893..0ce494c8 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -19,6 +19,7 @@ from coverage import env
# Pytest will rewrite assertions in test modules, but not elsewhere.
# This tells pytest to also rewrite assertions in coveragetest.py.
pytest.register_assert_rewrite("tests.coveragetest")
+pytest.register_assert_rewrite("tests.helpers")
# Pytest can take additional options:
# $set_env.py: PYTEST_ADDOPTS - Extra arguments to pytest.