From 5ab007b098011714d80441397c9f34d747539a2d Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 29 Aug 1996 19:00:46 +0000 Subject: Subtle hack so the eps printed is not dependent on the formatting habits of the C library we happen to use... --- Lib/test/test_math.py | 5 +++-- 1 file 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): -- cgit v0.12