mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-111863: Rename term Py_NOGIL to Py_GIL_DISABLED in sysconfig (gh-112307)
This commit is contained in:
parent
46500c42f0
commit
4fa376b005
2 changed files with 5 additions and 5 deletions
|
@ -1209,8 +1209,8 @@ class SysModuleTest(unittest.TestCase):
|
|||
@unittest.skipUnless(hasattr(sys, 'abiflags'), 'need sys.abiflags')
|
||||
def test_disable_gil_abi(self):
|
||||
abi_threaded = 't' in sys.abiflags
|
||||
py_nogil = (sysconfig.get_config_var('Py_GIL_DISABLED') == 1)
|
||||
self.assertEqual(py_nogil, abi_threaded)
|
||||
py_gil_disabled = (sysconfig.get_config_var('Py_GIL_DISABLED') == 1)
|
||||
self.assertEqual(py_gil_disabled, abi_threaded)
|
||||
|
||||
|
||||
@test.support.cpython_only
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue