summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-29 19:00:46 (GMT)
committerGuido van Rossum <guido@python.org>1996-08-29 19:00:46 (GMT)
commit5ab007b098011714d80441397c9f34d747539a2d (patch)
tree1ca69e983702c727e372a7312dcae48c3e7b2988 /Lib/test
parent213a685cd8ad210a7873544084b747f408e83921 (diff)
downloadcpython-5ab007b098011714d80441397c9f34d747539a2d.zip
cpython-5ab007b098011714d80441397c9f34d747539a2d.tar.gz
cpython-5ab007b098011714d80441397c9f34d747539a2d.tar.bz2
Subtle hack so the eps printed is not dependent on the formatting
habits of the C library we happen to use...
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_math.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py
index af84d2a..6d6bc44 100644
--- a/Lib/test/test_math.py
+++ b/Lib/test/test_math.py
@@ -3,8 +3,9 @@
from test_support import *
-eps=1e-5
-print 'math module, testing with eps', eps
+seps='1e-05'
+eps = eval(seps)
+print 'math module, testing with eps', seps
import math
def testit(name, value, expected):