summaryrefslogtreecommitdiff
path: root/tests/test_collector.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_collector.py')
-rw-r--r--tests/test_collector.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_collector.py b/tests/test_collector.py
index f7e8a4c4..53d7f175 100644
--- a/tests/test_collector.py
+++ b/tests/test_collector.py
@@ -46,5 +46,5 @@ class CollectorTest(CoverageTest):
# Double-check that our files were checked.
abs_files = {os.path.abspath(f) for f in should_trace_hook.filenames}
- self.assertIn(os.path.abspath("f1.py"), abs_files)
- self.assertIn(os.path.abspath("f2.py"), abs_files)
+ assert os.path.abspath("f1.py") in abs_files
+ assert os.path.abspath("f2.py") in abs_files