We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
support.requires_gil_enabled
1 parent 2c45148 commit 1723c76Copy full SHA for 1723c76
Lib/test/test_capi/test_mem.py
@@ -153,7 +153,7 @@ class C(): pass
153
154
155
# free-threading requires mimalloc (not malloc)
156
-@support.requires_gil_enabled
+@support.requires_gil_enabled()
157
class PyMemMallocDebugTests(PyMemDebugTests):
158
PYTHONMALLOC = 'malloc_debug'
159
Lib/test/test_gdb/test_backtrace.py
@@ -49,7 +49,7 @@ def test_bt_full(self):
49
50
@unittest.skipIf(python_is_optimized(),
51
"Python was compiled with optimizations")
52
- @support.requires_gil_enabled
+ @support.requires_gil_enabled()
53
@support.requires_resource('cpu')
54
def test_threads(self):
55
'Verify that "py-bt" indicates threads that are waiting for the GIL'
0 commit comments