diff options
author | Loo Rong Jie <loorongjie@gmail.com> | 2018-08-02 18:16:10 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-08-02 18:17:49 -0700 |
commit | afebc60a337e98aa7b5b4f45cc809dae5cd0c765 (patch) | |
tree | b330bac7ebfc19445156ea0cb42e670ee691b242 /src/test/shell | |
parent | ec83598cb6ee4136166bb562a24dc5dfa58921db (diff) |
Write print(x) instead of print x for python3 compatibility
There is only one argument, so this shouldn't affect Python 2.
Closes #5653.
PiperOrigin-RevId: 207200473
Diffstat (limited to 'src/test/shell')
-rw-r--r-- | src/test/shell/unittest.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/shell/unittest.bash b/src/test/shell/unittest.bash index e3d524a913..d7c02a3358 100644 --- a/src/test/shell/unittest.bash +++ b/src/test/shell/unittest.bash @@ -717,7 +717,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))' + python -c 'import time; print(int(round(time.time() * 1000)))' } fi |