From 147c3562631c64066a2da964522a66fb369841c4 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 17 May 2014 14:56:40 -0400 Subject: Avoid a bunch of deprecated functions. --- tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_api.py') 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() -- cgit v1.2.1