Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
Remove parens in test
  • Loading branch information
ZeroIntensity authored Dec 2, 2024
commit d59d134058bd95cb34ad6c314d6a647e353f7b92
2 changes: 1 addition & 1 deletion Lib/test/test_capi/test_mem.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def check_malloc_without_gil(self, code):
else:
expected = ('Fatal Python error: _PyMem_DebugMalloc: '
'Python memory allocator called without an active thread state. '
'(Are you trying to call it inside of a Py_BEGIN_ALLOW_THREADS block?)')
'Are you trying to call it inside of a Py_BEGIN_ALLOW_THREADS block?')
self.assertIn(expected, out)

def test_pymem_malloc_without_gil(self):
Expand Down