mirror of https://github.com/go-python/gopy.git
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:
parent
616ace6c34
commit
f777c32cac
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue