[pypy-commit] pypy py3k: switch to py3 behavior
pjenvey
noreply at buildbot.pypy.org
Tue Apr 30 23:30:27 CEST 2013
Author: Philip Jenvey <pjenvey at underboss.org>
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
More information about the pypy-commit
mailing list