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

antocuni noreply at buildbot.pypy.org
Tue Feb 21 10:50:43 CET 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r52707:b12bfba17a60
Date: 2012-02-21 00:06 +0100
http://bitbucket.org/pypy/pypy/changeset/b12bfba17a60/

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

diff --git a/pypy/interpreter/test/test_objspace.py b/pypy/interpreter/test/test_objspace.py
--- a/pypy/interpreter/test/test_objspace.py
+++ b/pypy/interpreter/test/test_objspace.py
@@ -159,14 +159,6 @@
         self.space.setattr(w_instance, self.space.wrap("__call__"), w_func)
         assert not is_callable(w_instance)
 
-        w_oldstyle = self.space.appexec([], """():
-            class NoCall:
-                pass
-            return NoCall()""")
-        assert not is_callable(w_oldstyle)
-        self.space.setattr(w_oldstyle, self.space.wrap("__call__"), w_func)
-        assert is_callable(w_oldstyle)
-
     def test_interp_w(self):
         w = self.space.wrap
         w_bltinfunction = self.space.builtin.get('len')


More information about the pypy-commit mailing list