[pypy-svn] r77034 - pypy/branch/fast-forward/lib-python/modified-2.7.0/test

afa at codespeak.net afa at codespeak.net
Mon Sep 13 11:24:34 CEST 2010

Author: afa
Date: Mon Sep 13 11:24:30 2010
New Revision: 77034

Copy __init__.py from modified-2.5.2,
this allows both modified and unmodified tests to run.

Modified: pypy/branch/fast-forward/lib-python/modified-2.7.0/test/__init__.py
--- pypy/branch/fast-forward/lib-python/modified-2.7.0/test/__init__.py	(original)
+++ pypy/branch/fast-forward/lib-python/modified-2.7.0/test/__init__.py	Mon Sep 13 11:24:30 2010
@@ -1 +1,11 @@
-# Dummy file to make this directory a package.
+This package only contains the tests that we have modified for PyPy.
+It uses the 'official' hack to include the rest of the standard
+'test' package from CPython.
+This assumes that sys.path is configured to contain
+'lib-python/modified-2.7.0' before 'lib-python/2.7.0'.
+from pkgutil import extend_path
+__path__ = extend_path(__path__, __name__)

More information about the Pypy-commit mailing list