Debian Codegraph @

debian/patches/tests/python2-binary

raw
1 From: Stefano Rivera <[email protected]>
2 Date: Fri, 25 Sep 2020 18:46:32 -0700
3 Subject: Tests: Use the python2 binary
4
5 Debian doesn't ship a /usr/bin/python any more
6
7 Forwarded: not-needed
8 ---
9 pypy/pytest-A.cfg | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/pypy/pytest-A.cfg b/pypy/pytest-A.cfg
13 index 1147f57..ed13165 100644
14 --- a/pypy/pytest-A.cfg
15 +++ b/pypy/pytest-A.cfg
16 @@ -4,7 +4,7 @@ import sys
17
18 cherrypick = ['interpreter', 'objspace/test', 'objspace/std', 'module']
19
20 -interp = ['python']
21 +interp = ['../cpython27/python']
22 test_driver = ['test_all.py', '-A', '--python',
23 # Get the target_path pypy/goal/pypyd.d.exe from testrunner/get_info.py
24 json.loads(subprocess.check_output([sys.executable, 'testrunner/get_info.py']))['target_path'], ]