Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r66354:a3fe46f5747d
Date: 2013-08-26 13:29 -0700
http://bitbucket.org/pypy/pypy/changeset/a3fe46f5747d/
Log: adapt to py3
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
@@ -919,13 +919,9 @@
raises(TypeError, a.__setitem__, Silly())
raises(TypeError, a.__setitem__, OldSilly())
- a = array('c', 'hi')
+ a = array('u', 'hi')
a[0] = 'b'
assert a[0] == 'b'
-
- a = array('u', u'hi')
- a[0] = u'b'
- assert a[0] == u'b'
def test_bytearray(self):
a = self.array('u', 'hi')
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit