We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df79a63 commit 0ee53f7Copy full SHA for 0ee53f7
tests/test_data.py
@@ -486,14 +486,10 @@ def test_read_and_write_are_opposites(self):
486
487
def test_thread_stress(self):
488
covdata = CoverageData()
489
- exceptions = []
490
491
def thread_main():
492
"""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)
+ covdata.add_lines(LINES_1)
497
498
threads = [threading.Thread(target=thread_main) for _ in range(10)]
499
for t in threads:
@@ -502,7 +498,6 @@ def thread_main():
502
t.join()
503
504
500
self.assert_lines1_data(covdata)
505
- #assert exceptions == []
506
501
507
508
class CoverageDataInTempDirTest(DataTestHelpers, CoverageTest):
0 commit comments