mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-117474: Skip GIL test in free-threaded build (#117475)
In the free-threaded build, the GIL will typically be disabled so `py-bt` will not show threads waiting on the GIL.
This commit is contained in:
parent
434bc593df
commit
63998a1347
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ Traceback \(most recent call first\):
|
|||
|
||||
@unittest.skipIf(python_is_optimized(),
|
||||
"Python was compiled with optimizations")
|
||||
@support.requires_gil_enabled
|
||||
@support.requires_resource('cpu')
|
||||
def test_threads(self):
|
||||
'Verify that "py-bt" indicates threads that are waiting for the GIL'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue