mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00: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:
parent
213a685cd8
commit
5ab007b098
1 changed files with 3 additions and 2 deletions
|
@ -3,8 +3,9 @@
|
||||||
|
|
||||||
from test_support import *
|
from test_support import *
|
||||||
|
|
||||||
eps=1e-5
|
seps='1e-05'
|
||||||
print 'math module, testing with eps', eps
|
eps = eval(seps)
|
||||||
|
print 'math module, testing with eps', seps
|
||||||
import math
|
import math
|
||||||
|
|
||||||
def testit(name, value, expected):
|
def testit(name, value, expected):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue