Author: Lukas Diekmann <lukas.diekm...@uni-duesseldorf.de> Branch: dict-strategies Changeset: r45180:b2211183df54 Date: 2011-06-29 13:22 +0200 http://bitbucket.org/pypy/pypy/changeset/b2211183df54/
Log: with dict-strategies object identity is not preserved diff --git a/lib-python/modified-2.7/test/test_weakref.py b/lib-python/modified-2.7/test/test_weakref.py --- a/lib-python/modified-2.7/test/test_weakref.py +++ b/lib-python/modified-2.7/test/test_weakref.py @@ -993,7 +993,7 @@ self.assertTrue(len(weakdict) == 2) k, v = weakdict.popitem() self.assertTrue(len(weakdict) == 1) - if k is key1: + if k == key1: self.assertTrue(v is value1) else: self.assertTrue(v is value2) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit