[pypy-commit] pypy py3k: we no longer have oldstyle classes, kill the test

antocuni noreply at buildbot.pypy.org
Thu Apr 19 18:19:38 CEST 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r54543:c20cf887558b
Date: 2012-04-19 16:12 +0200
http://bitbucket.org/pypy/pypy/changeset/c20cf887558b/

Log:	we no longer have oldstyle classes, kill the test

diff --git a/pypy/objspace/std/test/test_identitydict.py b/pypy/objspace/std/test/test_identitydict.py
--- a/pypy/objspace/std/test/test_identitydict.py
+++ b/pypy/objspace/std/test/test_identitydict.py
@@ -130,9 +130,3 @@
         assert d1 == d2
         assert self.uses_identity_strategy(d1)
         assert not self.uses_identity_strategy(d2)
-
-    def test_old_style_classes(self):
-        class X:
-            pass
-        d = {X(): 1}
-        assert not self.uses_identity_strategy(d)


More information about the pypy-commit mailing list