Commit 55333759 authored by Hongkun Yu's avatar Hongkun Yu Committed by A. Unique TensorFlower
Browse files

Internal change

PiperOrigin-RevId: 395116529
parent 4d4cd373
...@@ -46,14 +46,8 @@ py_test() { ...@@ -46,14 +46,8 @@ py_test() {
return "${exit_code}" return "${exit_code}"
} }
py2_test() {
local PY_BINARY=$(which python2)
py_test "$PY_BINARY"
return $?
}
py3_test() { py3_test() {
local PY_BINARY=$(which python3) local PY_BINARY=python3.9
py_test "$PY_BINARY" py_test "$PY_BINARY"
return $? return $?
} }
...@@ -61,7 +55,7 @@ py3_test() { ...@@ -61,7 +55,7 @@ py3_test() {
test_result=0 test_result=0
if [ "$#" -eq 0 ]; then if [ "$#" -eq 0 ]; then
TESTS="lint py2_test py3_test" TESTS="lint py3_test"
else else
TESTS="$@" TESTS="$@"
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment