From: Guido van Rossum Date: Thu, 29 Aug 1996 19:00:46 +0000 (+0000) Subject: Subtle hack so the eps printed is not dependent on the formatting X-Git-Tag: v1.4~326 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ab007b098011714d80441397c9f34d747539a2d;p=thirdparty%2FPython%2Fcpython.git Subtle hack so the eps printed is not dependent on the formatting habits of the C library we happen to use... --- diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py index af84d2a614d5..6d6bc4495383 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):