gopy: hardcode python2 for now in tests

This CL makes sure we are using python2 for the tests.
Eventually, we'll have to test both.
This commit is contained in:
Sebastien Binet 2017-08-04 18:10:05 +02:00
parent 616ace6c34
commit f777c32cac
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ func testPkgWithCFFI(t *testing.T, table pkg) {
}
buf := new(bytes.Buffer)
cmd = exec.Command("python", "./test.py")
cmd = exec.Command("python2", "./test.py")
cmd.Dir = workdir
cmd.Stdin = os.Stdin
cmd.Stdout = buf