Skip to content

Commit 0ee53f7

Browse files
committed
test: remove a changed test that wasn't supposed to be part of bb73791
1 parent df79a63 commit 0ee53f7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/test_data.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -486,14 +486,10 @@ def test_read_and_write_are_opposites(self):
486486

487487
def test_thread_stress(self):
488488
covdata = CoverageData()
489-
exceptions = []
490489

491490
def thread_main():
492491
"""Every thread will try to add the same data."""
493-
try:
494-
covdata.add_lines(LINES_1)
495-
except Exception as ex:
496-
exceptions.append(ex)
492+
covdata.add_lines(LINES_1)
497493

498494
threads = [threading.Thread(target=thread_main) for _ in range(10)]
499495
for t in threads:
@@ -502,7 +498,6 @@ def thread_main():
502498
t.join()
503499

504500
self.assert_lines1_data(covdata)
505-
#assert exceptions == []
506501

507502

508503
class CoverageDataInTempDirTest(DataTestHelpers, CoverageTest):

0 commit comments

Comments
 (0)