summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_format.py
diff options
context:
space:
mode:
authorEric Smith <eric@trueblade.com>2008-07-17 19:49:47 (GMT)
committerEric Smith <eric@trueblade.com>2008-07-17 19:49:47 (GMT)
commitd6c393ab2bf239d9f25ceab6f9b3b83e44848343 (patch)
treee6e475fbc042276a08a4bd9be1f9c3b6217fdcbd /Lib/test/test_format.py
parent0c1dbf8792cd1d4a8f97070852a16f4afcd7f466 (diff)
downloadcpython-d6c393ab2bf239d9f25ceab6f9b3b83e44848343.zip
cpython-d6c393ab2bf239d9f25ceab6f9b3b83e44848343.tar.gz
cpython-d6c393ab2bf239d9f25ceab6f9b3b83e44848343.tar.bz2
Backed out r65069, pending fixing it in Windows.
Diffstat (limited to 'Lib/test/test_format.py')
-rw-r--r--Lib/test/test_format.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/Lib/test/test_format.py b/Lib/test/test_format.py
index 1268670..cd46bc2 100644
--- a/Lib/test/test_format.py
+++ b/Lib/test/test_format.py
@@ -88,18 +88,6 @@ class FormatTest(unittest.TestCase):
testboth("%#.*F", (110, -1.e+100/3.))
overflowrequired = 0
- # check for %f and %F
- testboth("%f", (1.0,), "1.000000")
- testboth("%F", (1.0,), "1.000000")
- testboth("%f", (1e100,), "1e+100")
- testboth("%F", (1e100,), "1E+100")
- testboth("%f", (1e100,), "1e+100")
- testboth("%F", (1e100,), "1E+100")
- testboth("%f", (float('nan'),), "nan")
- testboth("%F", (float('nan'),), "NAN")
- testboth("%f", (float('inf'),), "inf")
- testboth("%F", (float('inf'),), "INF")
-
# Formatting of long integers. Overflow is not ok
overflowok = 0
testboth("%x", 10L, "a")