Commits

Lukas Diekmann committed 9f7e8c8

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

  • Participants
  • Parent commits 4d8e57f

Comments (0)

Files changed (1)

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

         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):