summaryrefslogtreecommitdiff
path: root/tests/test_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_api.py')
-rw-r--r--tests/test_api.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index ea625ff1..0c1c9035 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -23,6 +23,7 @@ from coverage.files import abs_file, relative_filename
from coverage.misc import CoverageException
from tests.coveragetest import CoverageTest, StopEverythingMixin, TESTS_DIR, UsingModulesMixin
+from tests.helpers import assert_count_equal
class ApiTest(CoverageTest):
@@ -43,7 +44,7 @@ class ApiTest(CoverageTest):
"""Assert that the files here are `files`, ignoring the usual junk."""
here = os.listdir(".")
here = self.clean_files(here, ["*.pyc", "__pycache__", "*$py.class"])
- self.assertCountEqual(here, files)
+ assert_count_equal(here, files)
def test_unexecuted_file(self):
cov = coverage.Coverage()