Searched refs:testboth (Results 1 – 1 of 1) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_format.py | 49 def testboth(formatstr, *args, **kwargs): function 57 testboth("%.1d", (1,), "1") 58 testboth("%.*d", (sys.maxint,1), overflowok=True) # expect overflow 59 testboth("%.100d", (1,), '00000000000000000000000000000000000000' 62 testboth("%#.117x", (1,), '0x00000000000000000000000000000000000' 66 testboth("%#.118x", (1,), '0x00000000000000000000000000000000000' 71 testboth("%f", (1.0,), "1.000000") 75 testboth("%#.*g", (109, -1.e+49/3.)) 76 testboth("%#.*g", (110, -1.e+49/3.)) 77 testboth("%#.*g", (110, -1.e+100/3.)) [all …]
|