Author: Carl Friedrich Bolz <[email protected]>
Branch: list-strategies
Changeset: r47827:d9497f6bf240
Date: 2011-10-05 11:11 +0200
http://bitbucket.org/pypy/pypy/changeset/d9497f6bf240/
Log: don't rely on the file encoding, which seems to be brittle in some
situations.
diff --git a/pypy/objspace/std/test/test_listobject.py
b/pypy/objspace/std/test/test_listobject.py
--- a/pypy/objspace/std/test/test_listobject.py
+++ b/pypy/objspace/std/test/test_listobject.py
@@ -918,7 +918,7 @@
assert l == [3, 4]
def test_unicode(self):
- s = u"���"
+ s = u"\ufffd\ufffd\ufffd"
assert s.encode("ascii", "replace") == "???"
assert s.encode("ascii", "ignore") == ""
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit