We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa58e75 commit 6edde8aCopy full SHA for 6edde8a
Lib/test/test_faulthandler.py
@@ -575,10 +575,12 @@ def run(self):
575
lineno = 8
576
else:
577
lineno = 10
578
+ # When the traceback is dumped, the waiter thread may be in the
579
+ # `self.running.set()` call or in `self.stop.wait()`.
580
regex = r"""
581
^Thread 0x[0-9a-f]+ \(most recent call first\):
582
(?: File ".*threading.py", line [0-9]+ in [_a-z]+
- ){{1,3}} File "<string>", line 23 in run
583
+ ){{1,3}} File "<string>", line (?:22|23) in run
584
File ".*threading.py", line [0-9]+ in _bootstrap_inner
585
File ".*threading.py", line [0-9]+ in _bootstrap
586
0 commit comments