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 af3814f3..7bd4bebb 100644
--- a/tests/test_collector.py
+++ b/tests/test_collector.py
@@ -48,7 +48,7 @@ class CollectorTest(CoverageTest):
# duplicates.
trace_lines = [
l for l in debug_out.getvalue().splitlines()
- if l.startswith("Tracing ") or l.startswith("Not tracing ")
+ if l.startswith(("Tracing ", "Not tracing "))
]
filenames = [re.search(r"'[^']+'", l).group() for l in trace_lines]
self.assertEqual(len(filenames), len(set(filenames)))