We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b03a5a commit 898adc7Copy full SHA for 898adc7
Lib/test/test_call.py
@@ -1049,8 +1049,8 @@ def get_sp():
1049
this_sp = _testinternalcapi.get_stack_pointer()
1050
lower_sp = _testcapi.pyobject_vectorcall(get_sp, (), ())
1051
self.assertLess(lower_sp, this_sp)
1052
- # Add an (arbitrary) extra 25% for safety
1053
- safe_margin = (this_sp - lower_sp) * 5 / 4
+ # Add an (arbitrary) extra 20% for safety
+ safe_margin = (this_sp - lower_sp) * 6 / 5
1054
self.assertLess(safe_margin, _testinternalcapi.get_stack_margin())
1055
1056
@skip_on_s390x
0 commit comments