Author: Antonio Cuni <[email protected]>
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')
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit