From a8f04a6f9cd76ebc034a4596c70d4ce0e2cb17a2 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 9 May 2017 18:47:46 -0400 Subject: Tests/Server: import print_function from the future This makes the output much more readable. Suggested-by: Matt Soucy --- Tests/Server/cmakelib.py | 5 +++-- 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 -- cgit v0.12