Searched refs:overflowok (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_format.py | 15 def testformat(formatstr, args, output=None, limit=None, overflowok=False): argument 25 if not overflowok: 50 def testcommon(formatstr, args, output=None, limit=None, overflowok=False): argument 54 testformat(formatstr, args, output, limit, overflowok) 71 testformat(b_format, b_args, b_output, limit, overflowok) 72 testformat(ba_format, b_args, ba_output, limit, overflowok) 103 testcommon("%.*d", (sys.maxsize,1), overflowok=True) # expect overflow 106 '00000001', overflowok=True) 110 overflowok=True) 114 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)
|