]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Subtle hack so the eps printed is not dependent on the formatting
authorGuido van Rossum <guido@python.org>
Thu, 29 Aug 1996 19:00:46 +0000 (19:00 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 29 Aug 1996 19:00:46 +0000 (19:00 +0000)
habits of the C library we happen to use...

Lib/test/test_math.py

index af84d2a614d55d9416da66bf08894ee3ba95ae48..6d6bc44953833e8bc2d5745db8b3d757611a0014 100644 (file)
@@ -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):