[pypy-svn] r35206 - pypy/dist/pypy/translator/c/test

fijal at codespeak.net fijal at codespeak.net
Fri Dec 1 17:41:50 CET 2006


Author: fijal
Date: Fri Dec  1 17:41:48 2006
New Revision: 35206

Modified:
   pypy/dist/pypy/translator/c/test/test_extfunc.py
Log:
Make function different (at least it annotates)


Modified: pypy/dist/pypy/translator/c/test/test_extfunc.py
==============================================================================
--- pypy/dist/pypy/translator/c/test/test_extfunc.py	(original)
+++ pypy/dist/pypy/translator/c/test/test_extfunc.py	Fri Dec  1 17:41:48 2006
@@ -690,9 +690,10 @@
         filename = str(udir.join('test_execv.txt'))
         def does_stuff():
             progname = str(sys.executable)
-            l = []
-            l.append(progname)
-            l += ["-c", 'open("%s","w").write("1")' % filename]
+            l = ['', '']
+            l[0] = progname
+            l[1] = "-c"
+            l.append('open("%s","w").write("1")' % filename)
             pid = os.fork()
             if pid == 0:
                 os.execv(progname, l)



More information about the Pypy-commit mailing list