1. Pypy
  2. Untitled project
  3. pypy

Commits

Lukas Diekmann  committed f7988ab

issue 1183: added additional test

  • Participants
  • Parent commits 3f86187
  • Branches default

Comments (0)

Files changed (1)

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

View file
         c = a - b
         c.remove(2)
         assert c == set([1, 3])
-        assert a == set([1,2, 3])
+        assert a == set([1, 2, 3])
+
+        a = set([1,2,3])
+        b = set(["a", "b", "c"])
+        c = a - b
+        c.remove(2)
+        assert c == set([1, 3])
+        assert a == set([1, 2, 3])
 
     def test_intersection_update(self):
         s = set([1,2,3,4,7])