diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2017-05-09 22:47:46 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2017-05-10 13:42:31 (GMT) |
commit | a8f04a6f9cd76ebc034a4596c70d4ce0e2cb17a2 (patch) | |
tree | d78c5c84b83a24cc84db00f3a13533fb52c8f9f0 /Tests/Server | |
parent | b69e061b8073efbd2c356f4508ea401c85e8dae3 (diff) | |
download | CMake-a8f04a6f9cd76ebc034a4596c70d4ce0e2cb17a2.zip CMake-a8f04a6f9cd76ebc034a4596c70d4ce0e2cb17a2.tar.gz CMake-a8f04a6f9cd76ebc034a4596c70d4ce0e2cb17a2.tar.bz2 |
Tests/Server: import print_function from the future
This makes the output much more readable.
Suggested-by: Matt Soucy
Diffstat (limited to 'Tests/Server')
-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 |