Author: Antonio Cuni <[email protected]>
Branch: 
Changeset: r44131:b5c79ce04f0e
Date: 2011-05-13 15:22 +0200
http://bitbucket.org/pypy/pypy/changeset/b5c79ce04f0e/

Log:    improve the test

diff --git a/pypy/module/cpyext/test/test_sequence.py 
b/pypy/module/cpyext/test/test_sequence.py
--- a/pypy/module/cpyext/test/test_sequence.py
+++ b/pypy/module/cpyext/test/test_sequence.py
@@ -113,6 +113,9 @@
         result = api.PySequence_GetItem(w_l, 4)
         assert space.is_true(space.eq(result, space.wrap(4)))
 
+        result = api.PySequence_ITEM(w_l, 4)
+        assert space.is_true(space.eq(result, space.wrap(4)))
+
         self.raises(space, api, IndexError, api.PySequence_GetItem, w_l, 9000)
 
     def test_index(self, space, api):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to