Author: Lukas Diekmann <[email protected]>
Branch: 
Changeset: r55722:9f7e8c8ce987
Date: 2012-06-20 12:16 +0200
http://bitbucket.org/pypy/pypy/changeset/9f7e8c8ce987/

Log:    test speed optimization for set.update when updating a set of
        obejcts with another set containing objects

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
@@ -425,6 +425,8 @@
         s1 = set()
         s1.update(set('abcd'))
         assert s1 == set('abcd')
+        s1 = set([1, 2.0, "3"])
+        s1.update(set(["3", 4, 5.0]))
 
     def test_recursive_repr(self):
         class A(object):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to