[pypy-svn] r22744 - pypy/dist/pypy/rpython/rctypes/test

gromit at codespeak.net gromit at codespeak.net
Fri Jan 27 17:29:49 CET 2006


Author: gromit
Date: Fri Jan 27 17:29:47 2006
New Revision: 22744

Modified:
   pypy/dist/pypy/rpython/rctypes/test/test_rctypes.py
Log:
FIX: Fixed a one of error in the index error test code

Modified: pypy/dist/pypy/rpython/rctypes/test/test_rctypes.py
==============================================================================
--- pypy/dist/pypy/rpython/rctypes/test/test_rctypes.py	(original)
+++ pypy/dist/pypy/rpython/rctypes/test/test_rctypes.py	Fri Jan 27 17:29:47 2006
@@ -151,7 +151,8 @@
 
 def py_test_annotate_array_content_index_error_on_negative_index():
     my_array = c_int_10()
-    return my_array[-10]
+    return my_array[-11]
+
 
 class Test_rctypes:
 



More information about the Pypy-commit mailing list