There was an error while loading. Please reload this page.
1 parent 25797df commit 0d83b86Copy full SHA for 0d83b86
1 file changed
Lib/test/test_format.py
@@ -492,8 +492,7 @@ def test_precision_c_limits(self):
492
def test_precision_near_int_max(self):
493
# gh-158446: Precisions just below INT_MAX are rejected before any
494
# output buffer size is computed from them.
495
- _testcapi = import_module("_testcapi")
496
- INT_MAX = _testcapi.INT_MAX
+ from _testcapi import INT_MAX
497
498
f = 1e300
499
c = complex(f)
0 commit comments