[pypy-svn] r64125 - pypy/branch/pyjitpl5-simplify/pypy/jit/tl/test

hpk at codespeak.net hpk at codespeak.net
Thu Apr 16 02:40:00 CEST 2009


Author: hpk
Date: Thu Apr 16 02:39:57 2009
New Revision: 64125

Modified:
   pypy/branch/pyjitpl5-simplify/pypy/jit/tl/test/jitcrashers.py
Log:
fix jit_importing_posixpath

This was a red herring; importing posixpath without os loaded as
happened in the minimal environment of targetpypyjit-c raises an
ImportError.


Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/tl/test/jitcrashers.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/tl/test/jitcrashers.py	(original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/tl/test/jitcrashers.py	Thu Apr 16 02:39:57 2009
@@ -89,6 +89,7 @@
     return k
 
 def jit_importing_posixpath():
+    import os
     import posixpath
 
 def jit_importing_site():



More information about the Pypy-commit mailing list