mirror of https://github.com/python/cpython
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:
parent
213a685cd8
commit
5ab007b098
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue