Author: Manuel Jacob
Branch: remove-tuple-smm
Changeset: r64423:0e0ffca3fde2
Date: 2013-05-22 10:14 +0200
http://bitbucket.org/pypy/pypy/changeset/0e0ffca3fde2/

Log:    Remove test_setitem().

diff --git a/pypy/objspace/std/test/test_smalltupleobject.py 
b/pypy/objspace/std/test/test_smalltupleobject.py
--- a/pypy/objspace/std/test/test_smalltupleobject.py
+++ b/pypy/objspace/std/test/test_smalltupleobject.py
@@ -78,11 +78,3 @@
         assert not normalspace.is_true(normalspace.eq(w_tuple, w_smalltuple))
         assert smallspace.is_true(smallspace.eq(w_tuple, w_smalltuple))
         assert smallspace.is_true(smallspace.eq(normalspace.hash(w_tuple), 
smallspace.hash(w_smalltuple)))
-
-    def test_setitem(self):
-        w_smalltuple = self.space.newtuple([self.space.wrap(1), 
self.space.wrap(2)])
-        w_smalltuple.setitem(0, self.space.wrap(5))
-        list_w = w_smalltuple.tolist()
-        assert len(list_w) == 2
-        assert self.space.eq_w(list_w[0], self.space.wrap(5))
-        assert self.space.eq_w(list_w[1], self.space.wrap(2))
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to