summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_format.py
diff options
context:
space:
mode:
authorEric Smith <eric@trueblade.com>2008-07-17 19:18:29 (GMT)
committerEric Smith <eric@trueblade.com>2008-07-17 19:18:29 (GMT)
commit22b85b3ef85c50ce5053acb2860df858d040eb07 (patch)
treeab07c2d9efb0168302d489bd8489894ef0c38c06 /Lib/test/test_format.py
parenta4fac36eb3ee70529482d43d2a484d5ff5d18398 (diff)
downloadcpython-22b85b3ef85c50ce5053acb2860df858d040eb07.zip
cpython-22b85b3ef85c50ce5053acb2860df858d040eb07.tar.gz
cpython-22b85b3ef85c50ce5053acb2860df858d040eb07.tar.bz2
Backed out r65073, pending fixing it in Windows.
Diffstat (limited to 'Lib/test/test_format.py')
-rw-r--r--Lib/test/test_format.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/Lib/test/test_format.py b/Lib/test/test_format.py
index 30b07d8..6d32e86 100644
--- a/Lib/test/test_format.py
+++ b/Lib/test/test_format.py
@@ -79,17 +79,6 @@ class FormatTest(unittest.TestCase):
testformat("%#.*f", (110, -1.e+100/3.))
testformat("%#.*F", (110, -1.e+100/3.))
overflowrequired = 0
- # check for %f and %F
- testformat("%f", (1.0,), "1.000000")
- testformat("%F", (1.0,), "1.000000")
- testformat("%f", (1e100,), "1e+100")
- testformat("%F", (1e100,), "1E+100")
- testformat("%f", (1e100,), "1e+100")
- testformat("%F", (1e100,), "1E+100")
- testformat("%f", (float('nan'),), "nan")
- testformat("%F", (float('nan'),), "NAN")
- testformat("%f", (float('inf'),), "inf")
- testformat("%F", (float('inf'),), "INF")
# Formatting of integers. Overflow is not ok
overflowok = 0
testformat("%x", 10, "a")