diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2020-12-20 20:19:49 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-01-03 06:26:21 -0500 |
commit | 7ff93a9740da5dec4eba6c6cad288d25a472d75a (patch) | |
tree | b81243f1508e4727dc28094c48be84ac6ae07706 /tests/test_collector.py | |
parent | 12c5fcd57fd1cce3bc3563732f5502f5e943c0e0 (diff) | |
download | python-coveragepy-git-7ff93a9740da5dec4eba6c6cad288d25a472d75a.tar.gz |
Use set literals
Diffstat (limited to 'tests/test_collector.py')
-rw-r--r-- | tests/test_collector.py | 2 |
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) |