File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -107,10 +107,10 @@ def test_no_FatalError_infinite_loop(self):
107107 "but the GIL is released "
108108 "(the current Python thread state is NULL)" ).encode ()
109109 else :
110- msg = ("Fatal Python error: PyThreadState_Get: "
111- "the function must be called with an active thread state , "
112- "after Python initialization and before Python finalization, but the thread state is NULL . "
113- "(are you trying to call the C API inside of a Py_BEGIN_ALLOW_THREADS block?) " ).encode ()
110+ msg = ("the function must be called with an active thread state, "
111+ "after Python initialization and before Python finalization , "
112+ "but it was called without an active thread state. "
113+ "Are you trying to call the C API inside of a Py_BEGIN_ALLOW_THREADS block?" ).encode ()
114114 self .assertTrue (err .rstrip ().startswith (msg ),
115115 err )
116116
You can’t perform that action at this time.
0 commit comments