[pypy-svn] pypy default: doing the fix in the correct branch

hpk42 commits-noreply at bitbucket.org
Tue Mar 8 17:13:16 CET 2011


Author: holger krekel <holger at merlinux.eu>
Branch: 
Changeset: r42478:54b0eba04d66
Date: 2011-03-08 17:12 +0100
http://bitbucket.org/pypy/pypy/changeset/54b0eba04d66/

Log:	doing the fix in the correct branch

diff --git a/lib_pypy/ctypes_config_cache/test/test_cache.py b/lib_pypy/ctypes_config_cache/test/test_cache.py
--- a/lib_pypy/ctypes_config_cache/test/test_cache.py
+++ b/lib_pypy/ctypes_config_cache/test/test_cache.py
@@ -11,6 +11,7 @@
                          dir=True)
     tmpdir.join('dumpcache.py').write(dirpath.join('dumpcache.py').read())
     path = sys.path[:]
+    sys.modules.pop('dumpcache', None)
     try:
         sys.path.insert(0, str(tmpdir))
         execfile(str(filepath), {})


More information about the Pypy-commit mailing list