[pypy-svn] r20991 - pypy/dist/pypy/tool/pytest

arigo at codespeak.net arigo at codespeak.net
Sat Dec 10 11:31:09 CET 2005


Author: arigo
Date: Sat Dec 10 11:31:09 2005
New Revision: 20991

Modified:
   pypy/dist/pypy/tool/pytest/regrverbose.py
Log:
Not happy with CPython imports.


Modified: pypy/dist/pypy/tool/pytest/regrverbose.py
==============================================================================
--- pypy/dist/pypy/tool/pytest/regrverbose.py	(original)
+++ pypy/dist/pypy/tool/pytest/regrverbose.py	Sat Dec 10 11:31:09 2005
@@ -1,6 +1,9 @@
 # refer to 2.4.1/test/regrtest.py's runtest() for comparison
 import sys
-from test import test_support 
+
+# ARGH! we need 'test' from the standard library, not the local one!
+del sys.path[0]
+from test import test_support
 test_support.verbose = int(sys.argv[1])
 sys.argv[:] = sys.argv[2:]
 



More information about the Pypy-commit mailing list