From 0ee53f71c4e7145fca1b6d39c5fe60cb1eb3055b Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 3 May 2021 07:26:42 -0400 Subject: test: remove a changed test that wasn't supposed to be part of bb73791b --- tests/test_data.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/test_data.py b/tests/test_data.py index 81409eac..4b385b7f 100644 --- a/tests/test_data.py +++ b/tests/test_data.py @@ -486,14 +486,10 @@ class CoverageDataTest(DataTestHelpers, CoverageTest): def test_thread_stress(self): covdata = CoverageData() - exceptions = [] def thread_main(): """Every thread will try to add the same data.""" - try: - covdata.add_lines(LINES_1) - except Exception as ex: - exceptions.append(ex) + covdata.add_lines(LINES_1) threads = [threading.Thread(target=thread_main) for _ in range(10)] for t in threads: @@ -502,7 +498,6 @@ class CoverageDataTest(DataTestHelpers, CoverageTest): t.join() self.assert_lines1_data(covdata) - #assert exceptions == [] class CoverageDataInTempDirTest(DataTestHelpers, CoverageTest): -- cgit v1.2.1