Skip to content

Commit b955d85

Browse files
committed
Remove incorrect assertion.
1 parent 03fa2af commit b955d85

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Modules/_testcapimodule.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2617,7 +2617,6 @@ test_interp_ensure(PyObject *self, PyObject *unused)
26172617
PyInterpreterRef sub_ref = get_strong_ref();
26182618
PyInterpreterState *subinterp = PyThreadState_GetInterpreter(tstate);
26192619

2620-
assert(PyThreadState_GetUnchecked() == NULL);
26212620
for (int i = 0; i < 10; ++i) {
26222621
int res = PyThreadState_Ensure(ref);
26232622
assert(res == 0);

0 commit comments

Comments
 (0)