Commits

Carl Friedrich Bolz committed 617ce44

uh? this test is clearly dict order dependent

Comments (0)

Files changed (1)

pypy/objspace/std/test/test_setobject.py

         raises(TypeError, s.discard, set([1]))
 
     def test_create_set_from_set(self):
+        # no sharing
         x = set([1,2,3])
         y = set(x)
-        x.pop()
-        assert x == set([2,3])
+        a = x.pop()
         assert y == set([1,2,3])
+        assert len(x) == 2
+        assert x.union(set([a])) == y
 
     def test_never_change_frozenset(self):
         a = frozenset([1,2])