Author: Armin Rigo <[email protected]>
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',
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to