test_faulthandler: fix regex on the check_dump_traceback_threads() traceback
The traceback may contain "_is_owned": Thread 0x40962b90: File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/threading.py", line 220 in _is_owned File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/threading.py", line 227 in wait File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/threading.py", line 421 in wait File "<string>", line 23 in run File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/threading.py", line 735 in _bootstrap_inner File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/threading.py", line 708 in _bootstrap Current thread XXX: File "<string>", line 10 in dump File "<string>", line 28 in <module>
This commit is contained in:
parent
6dca52772b
commit
1b3241fa0c
|
@ -325,9 +325,8 @@ waiter.join()
|
|||
lineno = 10
|
||||
regex = """
|
||||
^Thread 0x[0-9a-f]+:
|
||||
(?: File ".*threading.py", line [0-9]+ in wait
|
||||
)? File ".*threading.py", line [0-9]+ in wait
|
||||
File "<string>", line 23 in run
|
||||
(?: File ".*threading.py", line [0-9]+ in [_a-z]+
|
||||
){{1,3}} File "<string>", line 23 in run
|
||||
File ".*threading.py", line [0-9]+ in _bootstrap_inner
|
||||
File ".*threading.py", line [0-9]+ in _bootstrap
|
||||
|
||||
|
|
Loading…
Reference in New Issue