Commits

Philip Jenvey  committed 55f31f3

2.6 compat

  • Participants
  • Parent commits dc67b5d
  • Branches py3k

Comments (0)

Files changed (1)

File pypy/objspace/std/test/test_setobject.py

 
     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