[pypy-commit] pypy py3k: Fix for py.test running CPython test suite

amauryfa noreply at buildbot.pypy.org
Mon Nov 7 01:06:17 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r48858:ee437d31d9fe
Date: 2011-11-07 01:05 +0100
http://bitbucket.org/pypy/pypy/changeset/ee437d31d9fe/

Log:	Fix for py.test running CPython test suite

diff --git a/pypy/tool/pytest/run-script/regrverbose.py b/pypy/tool/pytest/run-script/regrverbose.py
--- a/pypy/tool/pytest/run-script/regrverbose.py
+++ b/pypy/tool/pytest/run-script/regrverbose.py
@@ -1,8 +1,8 @@
 # refer to 2.4.1/test/regrtest.py's runtest() for comparison
 import sys
 import unittest
-from test import test_support
-test_support.verbose = 1
+from test import support
+support.verbose = 1
 sys.argv[:] = sys.argv[1:]
 
 modname = sys.argv[0]


More information about the pypy-commit mailing list