Subtle hack so the eps printed is not dependent on the formatting

habits of the C library we happen to use...
This commit is contained in:
Guido van Rossum 1996-08-29 19:00:46 +00:00
parent 213a685cd8
commit 5ab007b098
1 changed files with 3 additions and 2 deletions

View 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):