Skip to content

Commit 911c6b5

Browse files
committed
Fix _testcapi.
1 parent c2bffcd commit 911c6b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_testcapimodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2605,7 +2605,7 @@ test_interp_ensure(PyObject *self, PyObject *unused)
26052605
PyInterpreterState *subinterp = PyThreadState_GetInterpreter(tstate);
26062606

26072607
for (int i = 0; i < 10; ++i) {
2608-
int res = PyThreadState_Ensure(sub_ref);
2608+
int res = PyThreadState_Ensure(ref);
26092609
assert(res == 0);
26102610
assert(PyInterpreterState_Get() == interp);
26112611
}

0 commit comments

Comments
 (0)