From 2e4b2977c78e254797d07c39e933fd535d4b0cec Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 6 Feb 2021 07:21:13 -0500 Subject: refactor: remove unittest.assertCountEqual Another step toward removing unittest.TestCase. --- tests/conftest.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/conftest.py') 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. -- cgit v1.2.1