summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-05-30 22:16:43 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-05-30 22:16:43 -0400
commitd5dc5d283b6d28ee71758a93df3bb2db697184a1 (patch)
tree075fc5c90a2752ae6e090368890ea00d3a0ab844
parentf668bb723fdbe5973d1298c4aa936b2421f7b209 (diff)
downloadpython-coveragepy-git-d5dc5d283b6d28ee71758a93df3bb2db697184a1.tar.gz
build: mark a line as not covered
-rw-r--r--tests/test_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_data.py b/tests/test_data.py
index be978e5e..15b7b418 100644
--- a/tests/test_data.py
+++ b/tests/test_data.py
@@ -492,7 +492,7 @@ class CoverageDataTest(DataTestHelpers, CoverageTest):
"""Every thread will try to add the same data."""
try:
covdata.add_lines(LINES_1)
- except Exception as ex:
+ except Exception as ex: # pragma: only failure
exceptions.append(ex)
threads = [threading.Thread(target=thread_main) for _ in range(10)]