diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2014-05-17 14:56:40 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-05-17 14:56:40 -0400 |
commit | 147c3562631c64066a2da964522a66fb369841c4 (patch) | |
tree | d346f6567216c2c864aea1a39f637a6ee89110f9 /tests/test_api.py | |
parent | 503cdc25c6e5410e920053e3c4a819e962c4f6e8 (diff) | |
download | python-coveragepy-147c3562631c64066a2da964522a66fb369841c4.tar.gz |
Avoid a bunch of deprecated functions.
Diffstat (limited to 'tests/test_api.py')
-rw-r--r-- | tests/test_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_api.py b/tests/test_api.py index 097947d..c1e9294 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() |