[pypy-svn] r26644 - pypy/dist/pypy/translator/cl/test

sanxiyn at codespeak.net sanxiyn at codespeak.net
Tue May 2 07:37:50 CEST 2006


Author: sanxiyn
Date: Tue May  2 07:37:47 2006
New Revision: 26644

Modified:
   pypy/dist/pypy/translator/cl/test/test_call.py
Log:
Rename a test


Modified: pypy/dist/pypy/translator/cl/test/test_call.py
==============================================================================
--- pypy/dist/pypy/translator/cl/test/test_call.py	(original)
+++ pypy/dist/pypy/translator/cl/test/test_call.py	Tue May  2 07:37:47 2006
@@ -3,11 +3,11 @@
 
 def test_call():
     def add_one(n):
-        n = add_one_really(n)
-        return n
-    def add_one_really(n):
         return n + 1
-    cl_add_one = make_cl_func(add_one, [int])
+    def call_add_one(n):
+        n = add_one(n)
+        return n
+    cl_add_one = make_cl_func(call_add_one, [int])
     assert cl_add_one(1) == 2
 
 def test_indirect_call():



More information about the Pypy-commit mailing list