[pypy-commit] pypy remove-list-smm: fix test

cfbolz noreply at buildbot.pypy.org
Wed Mar 20 11:44:30 CET 2013


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: remove-list-smm
Changeset: r62544:a21cd56a8f5b
Date: 2013-03-20 11:42 +0100
http://bitbucket.org/pypy/pypy/changeset/a21cd56a8f5b/

Log:	fix test

diff --git a/pypy/objspace/std/test/test_liststrategies.py b/pypy/objspace/std/test/test_liststrategies.py
--- a/pypy/objspace/std/test/test_liststrategies.py
+++ b/pypy/objspace/std/test/test_liststrategies.py
@@ -566,7 +566,7 @@
         space = self.space
         w_l = W_ListObject(space, [space.wrap(1), space.wrap(2), space.wrap(3)])
         w_l.pop = None
-        w_res = listobject.list_pop__List_ANY(space, w_l, space.w_None) # does not crash
+        w_res = w_l.descr_pop(space)
         assert space.unwrap(w_res) == 3
 
     def test_create_list_from_set(self):


More information about the pypy-commit mailing list