Author: Manuel Jacob
Branch: remove-list-smm-2
Changeset: r64273:75fc01ea9e92
Date: 2013-05-17 20:52 +0200
http://bitbucket.org/pypy/pypy/changeset/75fc01ea9e92/

Log:    Remove TestW_StdObjSpace.test_multimethods_defined_on().

diff --git a/pypy/objspace/std/test/test_stdobjspace.py 
b/pypy/objspace/std/test/test_stdobjspace.py
--- a/pypy/objspace/std/test/test_stdobjspace.py
+++ b/pypy/objspace/std/test/test_stdobjspace.py
@@ -23,19 +23,6 @@
         raises(OperationError,self.space.uint_w,self.space.wrap(None))
         raises(OperationError,self.space.uint_w,self.space.wrap(""))
 
-    def test_multimethods_defined_on(self):
-        from pypy.objspace.std.stdtypedef import multimethods_defined_on
-        from pypy.objspace.std.listobject import W_ListObject
-        res = multimethods_defined_on(W_ListObject)
-        res = [(m.name, local) for (m, local) in res]
-        assert ('add', False) in res
-        assert ('lt', False) in res
-        assert ('setitem', False) in res
-        assert ('mod', False) not in res
-        assert ('pop', True) not in res
-        assert ('reverse', True) not in res
-        assert ('popitem', True) not in res
-
     def test_sliceindices(self):
         space = self.space
         w_obj = space.appexec([], """():
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to