Author: Carl Friedrich Bolz <[email protected]>
Branch:
Changeset: r74031:c025984d6976
Date: 2014-10-21 13:36 +0200
http://bitbucket.org/pypy/pypy/changeset/c025984d6976/
Log: check with the default ulps
diff --git a/rpython/rlib/test/test_rbigint.py
b/rpython/rlib/test/test_rbigint.py
--- a/rpython/rlib/test/test_rbigint.py
+++ b/rpython/rlib/test/test_rbigint.py
@@ -668,9 +668,9 @@
for base in [0, 2, 4, 8, 16, 10, math.e]:
l = rbigint.fromlong(op).log(base)
if base:
- assert ulps_check(l, math.log(op, base), 1) is None
+ assert ulps_check(l, math.log(op, base)) is None
else:
- assert ulps_check(l, math.log(op), 1) is None
+ assert ulps_check(l, math.log(op)) is None
class TestInternalFunctions(object):
def test__inplace_divrem1(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit