Author: Carl Friedrich Bolz <[email protected]>
Branch: remove-list-smm
Changeset: r62547:872b9628821a
Date: 2013-03-20 14:23 +0100
http://bitbucket.org/pypy/pypy/changeset/872b9628821a/

Log:    this test is also broken due to the comment of the previous commit

diff --git a/pypy/objspace/std/test/test_listobject.py 
b/pypy/objspace/std/test/test_listobject.py
--- a/pypy/objspace/std/test/test_listobject.py
+++ b/pypy/objspace/std/test/test_listobject.py
@@ -1290,6 +1290,9 @@
         l1[:] = l2
         assert len(l1) == 0
 
+    def test_use_method_for_wrong_object(self):
+        raises(TypeError, list.append.im_func, 1, 2)
+
 
 class AppTestForRangeLists(AppTestW_ListObject):
     spaceconfig = {"objspace.std.withrangelist": True}
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to