[pypy-commit] pypy py3.5: accept 'py.test --pypy=~/some/path'

arigo pypy.commits at gmail.com
Fri Feb 3 13:07:48 EST 2017


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r89914:0abed43feb07
Date: 2017-02-03 19:06 +0100
http://bitbucket.org/pypy/pypy/changeset/0abed43feb07/

Log:	accept 'py.test --pypy=~/some/path'

diff --git a/pypy/module/pypyjit/test_pypy_c/test_00_model.py b/pypy/module/pypyjit/test_pypy_c/test_00_model.py
--- a/pypy/module/pypyjit/test_pypy_c/test_00_model.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_00_model.py
@@ -21,6 +21,7 @@
     def setup_class(cls):
         pypy_c = pytest.config.option.pypy_c or None
         if pypy_c is not None:
+            pypy_c = os.path.expanduser(pypy_c)
             assert os.path.exists(pypy_c), (
                 "--pypy specifies %r, which does not exist" % (pypy_c,))
             out = subprocess.check_output([pypy_c, '-c',


More information about the pypy-commit mailing list