Searched refs:overflowok (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_format.py | 14 def testformat(formatstr, args, output=None, limit=None, overflowok=False): argument 24 if not overflowok: 49 def testcommon(formatstr, args, output=None, limit=None, overflowok=False): argument 53 testformat(formatstr, args, output, limit, overflowok) 70 testformat(b_format, b_args, b_output, limit, overflowok) 71 testformat(ba_format, b_args, ba_output, limit, overflowok) 102 testcommon("%.*d", (sys.maxsize,1), overflowok=True) # expect overflow 105 '00000001', overflowok=True) 109 overflowok=True) 113 overflowok=True)
|
/external/python/cpython2/Lib/test/ |
D | test_format.py | 13 def testformat(formatstr, args, output=None, limit=None, overflowok=False): argument 23 if not overflowok: 58 testboth("%.*d", (sys.maxint,1), overflowok=True) # expect overflow 61 '00000001', overflowok=True) 65 overflowok=True) 69 overflowok=True)
|