[pypy-commit] pypy default: of course, I'm confusing the PyPy and the CPython version now that they
arigo
noreply at buildbot.pypy.org
Mon Oct 19 03:41:31 EDT 2015
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r80331:33863d9924f6
Date: 2015-10-19 09:41 +0200
http://bitbucket.org/pypy/pypy/changeset/33863d9924f6/
Log: of course, I'm confusing the PyPy and the CPython version now that
they are both at 2.7
diff --git a/pypy/module/cpyext/test/test_version.py b/pypy/module/cpyext/test/test_version.py
--- a/pypy/module/cpyext/test/test_version.py
+++ b/pypy/module/cpyext/test/test_version.py
@@ -3,10 +3,10 @@
def test_pragma_version():
- from pypy.module.sys.version import PYPY_VERSION
+ from pypy.module.sys.version import CPYTHON_VERSION
rootdir = py.path.local(__file__).join('..', '..')
pyconfig_h = rootdir.join('include', 'pyconfig.h')
- version = '%d%d' % (PYPY_VERSION[0], PYPY_VERSION[1])
+ version = '%d%d' % (CPYTHON_VERSION[0], CPYTHON_VERSION[1])
pragma = 'pragma comment(lib,"python%s.lib")' % version
assert pragma in pyconfig_h.read()
More information about the pypy-commit
mailing list