From d5dc5d283b6d28ee71758a93df3bb2db697184a1 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 30 May 2021 22:16:43 -0400 Subject: build: mark a line as not covered --- tests/test_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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)] -- cgit v1.2.1