diff options
author | Brad King <brad.king@kitware.com> | 2017-05-11 13:57:39 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-05-11 13:57:43 (GMT) |
commit | 4c638930b37c7f0e65e617f332f32b5323de9ee6 (patch) | |
tree | 7ca633dd46411ee41aed19771a43b4ef974c25e6 /Tests | |
parent | c2ea011830ea35cfefa7957e607c049ba8109041 (diff) | |
parent | a8f04a6f9cd76ebc034a4596c70d4ce0e2cb17a2 (diff) | |
download | CMake-4c638930b37c7f0e65e617f332f32b5323de9ee6.zip CMake-4c638930b37c7f0e65e617f332f32b5323de9ee6.tar.gz CMake-4c638930b37c7f0e65e617f332f32b5323de9ee6.tar.bz2 |
Merge topic 'print-function-server-tests'
a8f04a6f Tests/Server: import print_function from the future
Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Matt Soucy <matthew.soucy@baesystems.com>
Merge-request: !822
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Server/cmakelib.py | 5 | ||||
-rw-r--r-- | Tests/Server/server-test.py | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Tests/Server/cmakelib.py b/Tests/Server/cmakelib.py index d11431d..78450d5 100644 --- a/Tests/Server/cmakelib.py +++ b/Tests/Server/cmakelib.py @@ -1,3 +1,4 @@ +from __future__ import print_function import sys, subprocess, json termwidth = 150 @@ -13,8 +14,8 @@ def ordered(obj): return obj def col_print(title, array): - print - print + print() + print() print(title) indentwidth = 4 diff --git a/Tests/Server/server-test.py b/Tests/Server/server-test.py index 14767f4..62d9008 100644 --- a/Tests/Server/server-test.py +++ b/Tests/Server/server-test.py @@ -1,3 +1,4 @@ +from __future__ import print_function import sys, cmakelib, json, os, shutil debug = True |