Skip to content

Commit bfc8619

Browse files
committed
Fix test_capi
1 parent 7a0b713 commit bfc8619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_testinternalcapi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2437,7 +2437,7 @@ test_threadstate_set_stack(PyObject *self, PyObject *Py_UNUSED(args))
24372437
PyThreadState *tstate = PyThreadState_GET();
24382438

24392439
// Test a size smaller than _PyOS_STACK_MARGIN_BYTES
2440-
size_t size = 123;
2440+
size_t size = 4096;
24412441
assert(size < _PyOS_STACK_MARGIN_BYTES);
24422442
void *start = (void*)(_Py_get_machine_stack_pointer() - size);
24432443
check_threadstate_set_stack(tstate, start, size);

0 commit comments

Comments
 (0)