From b74d12d8142d02e2518c6f3cc1f6bc781ca12d61 Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Fri, 1 Apr 2022 08:49:57 -0700 Subject: [PATCH] fix: use python3 instead of python in unittest.bash (#3382) --- .../github.com/bazelbuild/bazel-skylib/tests/unittest.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/github.com/bazelbuild/bazel-skylib/tests/unittest.bash b/third_party/github.com/bazelbuild/bazel-skylib/tests/unittest.bash index 3bd07c7b9d..39d315fad9 100644 --- a/third_party/github.com/bazelbuild/bazel-skylib/tests/unittest.bash +++ b/third_party/github.com/bazelbuild/bazel-skylib/tests/unittest.bash @@ -675,7 +675,7 @@ if [ "$UNAME" = "linux" ] || [[ "$UNAME" =~ msys_nt* ]]; then else function timestamp() { # OS X and FreeBSD do not have %N so python is the best we can do - python -c 'import time; print int(round(time.time() * 1000))' + python3 -c 'import time; print(int(round(time.time() * 1000)))' } fi