[pypy-svn] pypy default: fix test_app_main after the renaming of lib-python/2.7.1 into 2.7
antocuni
commits-noreply at bitbucket.org
Thu Apr 28 11:11:24 CEST 2011
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch:
Changeset: r43701:1c66c0745948
Date: 2011-04-28 11:06 +0200
http://bitbucket.org/pypy/pypy/changeset/1c66c0745948/
Log: fix test_app_main after the renaming of lib-python/2.7.1 into 2.7
diff --git a/pypy/translator/goal/test2/test_app_main.py b/pypy/translator/goal/test2/test_app_main.py
--- a/pypy/translator/goal/test2/test_app_main.py
+++ b/pypy/translator/goal/test2/test_app_main.py
@@ -781,7 +781,7 @@
# setup code for test_get_library_path
# ------------------------------------
from pypy.module.sys.version import CPYTHON_VERSION, PYPY_VERSION
- cpy_ver = '%d.%d.%d' % CPYTHON_VERSION[:3]
+ cpy_ver = '%d.%d' % CPYTHON_VERSION[:2]
goal_dir = os.path.dirname(app_main)
# build a directory hierarchy like which contains both bin/pypy-c and
More information about the Pypy-commit
mailing list