[pypy-svn] pypy default: Make sure this passes under -A.

alex_gaynor commits-noreply at bitbucket.org
Sun Jan 30 04:22:37 CET 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r41469:0fb739ce8c3f
Date: 2011-01-29 22:22 -0500
http://bitbucket.org/pypy/pypy/changeset/0fb739ce8c3f/

Log:	Make sure this passes under -A.

diff --git a/pypy/module/imp/test/test_app.py b/pypy/module/imp/test/test_app.py
--- a/pypy/module/imp/test/test_app.py
+++ b/pypy/module/imp/test/test_app.py
@@ -136,4 +136,5 @@
         lib_pypy = os.path.abspath(
             os.path.join(self.file_module, "..", "..", "..", "..", "..", "lib_pypy")
         )
-        assert sys.path_importer_cache[lib_pypy] is None
+        # Doesn't end up in there when run with -A
+        assert sys.path_importer_cache.get(lib_pypy) is None


More information about the Pypy-commit mailing list