Skip to content

Commit 376051b

Browse files
committed
Use support.requires_gil_enabled
1 parent 91220ad commit 376051b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_gdb/test_backtrace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def test_bt_full(self):
4949

5050
@unittest.skipIf(python_is_optimized(),
5151
"Python was compiled with optimizations")
52-
@unittest.skipIf(support.Py_GIL_DISABLED, "test requires the GIL")
52+
@support.requires_gil_enabled
5353
@support.requires_resource('cpu')
5454
def test_threads(self):
5555
'Verify that "py-bt" indicates threads that are waiting for the GIL'

0 commit comments

Comments
 (0)