mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
#17833: fix test_gdb failures seen on PPC64 Linux in test_threads (test.test_gdb.PyBtTests)
This commit is contained in:
parent
25cd09115d
commit
d08b210164
2 changed files with 4 additions and 1 deletions
|
@ -1460,7 +1460,7 @@ class Frame(object):
|
|||
# This assumes the _POSIX_THREADS version of Python/ceval_gil.h:
|
||||
name = self._gdbframe.name()
|
||||
if name:
|
||||
return name.startswith('pthread_cond_timedwait')
|
||||
return 'pthread_cond_timedwait' in name
|
||||
|
||||
def is_gc_collect(self):
|
||||
'''Is this frame "collect" within the garbage-collector?'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue