[pypy-svn] r9409 - pypy/dist/pypy/translator/test

tismer at codespeak.net tismer at codespeak.net
Tue Feb 22 15:21:41 CET 2005


Author: tismer
Date: Tue Feb 22 15:21:41 2005
New Revision: 9409

Modified:
   pypy/dist/pypy/translator/test/test_geninterp.py
Log:
this one is tested :-)

Modified: pypy/dist/pypy/translator/test/test_geninterp.py
==============================================================================
--- pypy/dist/pypy/translator/test/test_geninterp.py	(original)
+++ pypy/dist/pypy/translator/test/test_geninterp.py	Tue Feb 22 15:21:41 2005
@@ -44,7 +44,8 @@
         # truncate non-compilable stuff for now:
         p = src.index('Non compilable Functions')
         src = src[:p]
-        ini = translate_as_module(src), tmpname = str(udir.join("_geninterp_test.py")))
+        # just in case of trouble, we produce a tempfile
+        ini = translate_as_module(src, tmpname = str(udir.join("_geninterp_test.py")))
         self.w_glob = ini(self.space)
 
     def build_interpfunc(self, func, *morefuncs):



More information about the Pypy-commit mailing list