[pypy-svn] pypy default: fix test_pypy_interact after the renaming of lib-python/2.7.1 into 2.7

antocuni commits-noreply at bitbucket.org
Thu Apr 28 11:11:26 CEST 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: 
Changeset: r43702:6931ab029af1
Date: 2011-04-28 11:09 +0200
http://bitbucket.org/pypy/pypy/changeset/6931ab029af1/

Log:	fix test_pypy_interact after the renaming of lib-python/2.7.1 into
	2.7

diff --git a/pypy/translator/sandbox/test/test_pypy_interact.py b/pypy/translator/sandbox/test/test_pypy_interact.py
--- a/pypy/translator/sandbox/test/test_pypy_interact.py
+++ b/pypy/translator/sandbox/test/test_pypy_interact.py
@@ -4,7 +4,7 @@
 from pypy.translator.interactive import Translation
 from pypy.module.sys.version import CPYTHON_VERSION
 
-VERSION = '%d.%d.%d' % CPYTHON_VERSION[:3]
+VERSION = '%d.%d' % CPYTHON_VERSION[:2]
 SITE_PY_CONTENT = open(os.path.join(autopath.pypydir,
                                     '..',
                                     'lib-python',


More information about the Pypy-commit mailing list