[pypy-commit] pypy default: issue 1183: added additional test

l.diekmann noreply at buildbot.pypy.org
Tue Jun 19 13:14:46 CEST 2012


Author: Lukas Diekmann <lukas.diekmann at uni-duesseldorf.de>
Branch: 
Changeset: r55716:f7988abae5ec
Date: 2012-06-19 13:14 +0200
http://bitbucket.org/pypy/pypy/changeset/f7988abae5ec/

Log:	issue 1183: added additional test

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
@@ -648,7 +648,14 @@
         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])


More information about the pypy-commit mailing list