Author: Manuel Jacob <[email protected]>
Branch: py3k
Changeset: r80863:3f769149a919
Date: 2015-11-23 18:17 +0100
http://bitbucket.org/pypy/pypy/changeset/3f769149a919/
Log: Fix syntax error. However this test still crashes for another
reason.
diff --git a/pypy/module/array/test/test_array.py
b/pypy/module/array/test/test_array.py
--- a/pypy/module/array/test/test_array.py
+++ b/pypy/module/array/test/test_array.py
@@ -851,9 +851,9 @@
import sys
if sys.maxunicode == 0xffff:
skip("test for 32-bit unicodes")
- a = self.array('u', '\xff\xff\xff\xff')
+ a = self.array('u', b'\xff\xff\xff\xff')
assert len(a) == 1
- assert repr(a[0]) == "u'\Uffffffff'"
+ assert repr(a[0]) == r"'\Uffffffff'"
if sys.maxint == 2147483647:
assert ord(a[0]) == -1
else:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit