[pypy-svn] r74367 - pypy/trunk/pypy/module/cpyext/test

benjamin at codespeak.net benjamin at codespeak.net
Tue May 4 22:57:18 CEST 2010


Author: benjamin
Date: Tue May  4 22:57:16 2010
New Revision: 74367

Modified:
   pypy/trunk/pypy/module/cpyext/test/test_mapping.py
Log:
getitem doesn't take a value :)

Modified: pypy/trunk/pypy/module/cpyext/test/test_mapping.py
==============================================================================
--- pypy/trunk/pypy/module/cpyext/test/test_mapping.py	(original)
+++ pypy/trunk/pypy/module/cpyext/test/test_mapping.py	Tue May  4 22:57:16 2010
@@ -26,7 +26,7 @@
         key = rffi.str2charp("key")
         api.PyMapping_SetItemString(w_d, key, space.wrap(42))
         assert 42 == space.unwrap(
-            api.PyMapping_GetItemString(w_d, key, space.wrap(42)))
+            api.PyMapping_GetItemString(w_d, key))
         rffi.free_charp(key)
 
     def test_haskey(self, space, api):



More information about the Pypy-commit mailing list