summaryrefslogtreecommitdiff
path: root/tests/test_api.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2014-05-17 14:56:40 -0400
committerNed Batchelder <ned@nedbatchelder.com>2014-05-17 14:56:40 -0400
commitf5c6fd96beb04ccd7a86817ad5be1163f8409420 (patch)
tree063c9c92cc1ec679c323b310e8e2379fed34e469 /tests/test_api.py
parentb52c96fe479e4b30d19dd6be62a032791ac20ba3 (diff)
downloadpython-coveragepy-git-f5c6fd96beb04ccd7a86817ad5be1163f8409420.tar.gz
Avoid a bunch of deprecated functions.
Diffstat (limited to 'tests/test_api.py')
-rw-r--r--tests/test_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index 097947d2..c1e9294f 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -100,7 +100,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__"])
- self.assertSameElements(here, files)
+ self.assertCountEqual(here, files)
def test_unexecuted_file(self):
cov = coverage.coverage()