Author: Alexander Hesse <[email protected]>
Branch: split-rpython
Changeset: r59805:69a5cc72693b
Date: 2013-01-06 07:12 +0100
http://bitbucket.org/pypy/pypy/changeset/69a5cc72693b/
Log: Fixed test_cmath
diff --git a/pypy/module/cmath/test/test_cmath.py
b/pypy/module/cmath/test/test_cmath.py
--- a/pypy/module/cmath/test/test_cmath.py
+++ b/pypy/module/cmath/test/test_cmath.py
@@ -184,8 +184,9 @@
#if not float.__getformat__("double").startswith("IEEE"):
# return
+ import rpython
# too fragile...
- fname = os.path.join(os.path.dirname(__file__), '../../../rlib/test',
'rcomplex_testcases.txt')
+ fname =
os.path.join(os.path.dirname(rpython.rlib.test.test_rcomplex.__file__),
'rcomplex_testcases.txt')
for id, fn, ar, ai, er, ei, flags in parse_testfile(fname):
arg = (ar, ai)
expected = (er, ei)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit