Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r63776:49b50e7a7d05
Date: 2013-04-30 14:28 -0700
http://bitbucket.org/pypy/pypy/changeset/49b50e7a7d05/
Log: switch to py3 behavior
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
@@ -21,8 +21,8 @@
import math
z = eval("-0j")
assert z == -0j
- assert math.copysign(1., z.real) == 1.
- assert math.copysign(1., z.imag) == -1.
+ assert math.copysign(1., z.real) == -1.0
+ assert math.copysign(1., z.imag) == -1.0
def test_sqrt(self):
import cmath, math
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit