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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_collector.py b/tests/test_collector.py
index 9989b229..f7e8a4c4 100644
--- a/tests/test_collector.py
+++ b/tests/test_collector.py
@@ -45,6 +45,6 @@ class CollectorTest(CoverageTest):
self.start_import_stop(cov, "f2")
# Double-check that our files were checked.
- abs_files = set(os.path.abspath(f) for f in should_trace_hook.filenames)
+ 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)