[pypy-commit] pypy py3k: fix for dict_keys

pjenvey noreply at buildbot.pypy.org
Sun Apr 28 04:09:48 CEST 2013


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r63713:089b85bb1c93
Date: 2013-04-27 19:09 -0700
http://bitbucket.org/pypy/pypy/changeset/089b85bb1c93/

Log:	fix for dict_keys

diff --git a/pypy/objspace/std/test/test_proxy_object.py b/pypy/objspace/std/test/test_proxy_object.py
--- a/pypy/objspace/std/test/test_proxy_object.py
+++ b/pypy/objspace/std/test/test_proxy_object.py
@@ -89,7 +89,7 @@
         obj = self.proxy(self.A, c.perform)
         obj.__dict__ = {'x':3}
         assert obj.x == 3
-        assert obj.__dict__.keys() == ['x']
+        assert obj.__dict__.keys() == set(['x'])
     
     def test_repr(self):
         a = self.A()


More information about the pypy-commit mailing list