[pypy-svn] r39081 - pypy/dist/pypy/translator/cli/test

pedronis at codespeak.net pedronis at codespeak.net
Sat Feb 17 09:28:30 CET 2007


Author: pedronis
Date: Sat Feb 17 09:28:29 2007
New Revision: 39081

Modified:
   pypy/dist/pypy/translator/cli/test/runtest.py
Log:
fix skipping logic vs caching of previous compilation.



Modified: pypy/dist/pypy/translator/cli/test/runtest.py
==============================================================================
--- pypy/dist/pypy/translator/cli/test/runtest.py	(original)
+++ pypy/dist/pypy/translator/cli/test/runtest.py	Sat Feb 17 09:28:29 2007
@@ -251,9 +251,9 @@
         if self._func is fn and self._ann == ann:
             return self._cli_func
         else:
+            self._cli_func = compile_function(fn, ann)
             self._func = fn
             self._ann = ann
-            self._cli_func = compile_function(fn, ann)
             return self._cli_func
 
     def _skip_win(self, reason):



More information about the Pypy-commit mailing list