From f777c32cacf61374a7cf1852a3c8e6070adcf915 Mon Sep 17 00:00:00 2001 From: Sebastien Binet Date: Fri, 4 Aug 2017 18:10:05 +0200 Subject: [PATCH] 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. --- main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main_test.go b/main_test.go index c6aeac3..d25968a 100644 --- a/main_test.go +++ b/main_test.go @@ -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