Author: mattip <[email protected]>
Branch: numpypy-complex2
Changeset: r57743:5c72f033e952
Date: 2012-10-02 00:05 +0200
http://bitbucket.org/pypy/pypy/changeset/5c72f033e952/
Log: do not trust tranlating platform's power() for tests
diff --git a/pypy/module/micronumpy/test/test_complex.py
b/pypy/module/micronumpy/test/test_complex.py
--- a/pypy/module/micronumpy/test/test_complex.py
+++ b/pypy/module/micronumpy/test/test_complex.py
@@ -304,7 +304,7 @@
], dtype=c)
got_err = False
for p in (3, -1, 10000, 2.3, -10000, 10+3j):
- b = power(a, p)
+ b = self.c_pow(a, p)
for i in range(len(a)):
r = a[i]**p
msg = 'result of %r(%r)**%r got %r expected %r\n ' % \
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit