0
0
mirror of https://github.com/python/cpython.git synced 2024-11-24 17:47:13 +01:00

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

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