Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r63761:55f31f3a5d68
Date: 2013-04-29 17:58 -0700
http://bitbucket.org/pypy/pypy/changeset/55f31f3a5d68/
Log: 2.6 compat
diff --git a/pypy/objspace/std/test/test_setobject.py
b/pypy/objspace/std/test/test_setobject.py
--- a/pypy/objspace/std/test/test_setobject.py
+++ b/pypy/objspace/std/test/test_setobject.py
@@ -969,13 +969,13 @@
def test_unicodestrategy(self):
s = 'àèìòù'
- myset = {s}
+ myset = set([s])
s2 = myset.pop()
assert s2 == s
def test_preserve_identity_of_strings(self):
s = 'hello'
- myset = {s}
+ myset = set([s])
s2 = myset.pop()
assert s2 == s
assert s2 is s
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit