Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3.5
Changeset: r87977:c18e5aa323c6
Date: 2016-10-28 22:39 +0200
http://bitbucket.org/pypy/pypy/changeset/c18e5aa323c6/
Log: Update test_long to match the future v3.5.3. PyPy already handles
None exponents consistently. see
https://hg.python.org/cpython/rev/c3c4d8e4ca1a
diff --git a/lib-python/3/test/test_long.py b/lib-python/3/test/test_long.py
--- a/lib-python/3/test/test_long.py
+++ b/lib-python/3/test/test_long.py
@@ -967,7 +967,7 @@
self.assertIs(type(got), int)
# bad second argument
- bad_exponents = ('brian', 2.0, 0j, None)
+ bad_exponents = ('brian', 2.0, 0j)
for e in bad_exponents:
self.assertRaises(TypeError, round, 3, e)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit