summaryrefslogtreecommitdiffstats
path: root/tests/functional/test_wallace/test_002_footer.py
diff options
context:
space:
mode:
authorChristoph Erhardt <kolab@sicherha.de>2021-06-04 16:50:46 +0200
committerChristoph Erhardt <kolab@sicherha.de>2022-01-10 20:42:16 +0100
commitd0579b7e5da331576b80b9d35eb62994075bc939 (patch)
treee925558aabd8a69217e828c46eb4111d16f00fd4 /tests/functional/test_wallace/test_002_footer.py
parent7750671314e6da19f65aaa95bb1095963fdc175a (diff)
downloadpykolab-d0579b7e5da331576b80b9d35eb62994075bc939.tar.gz
[Python 3] Use print() as function instead of statement
Summary: print() has been a function since Python 2.6; the old behaviour was dropped in Python 3.0. To use the named file argument in Python 2, we need to import print_function from the __future__ module. Reviewers: machniak, mollekopf Reviewed By: mollekopf Differential Revision: https://git.kolab.org/D3229
Diffstat (limited to 'tests/functional/test_wallace/test_002_footer.py')
-rw-r--r--tests/functional/test_wallace/test_002_footer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/test_wallace/test_002_footer.py b/tests/functional/test_wallace/test_002_footer.py
index d6e5836..5da044a 100644
--- a/tests/functional/test_wallace/test_002_footer.py
+++ b/tests/functional/test_wallace/test_002_footer.py
@@ -276,7 +276,7 @@ class TestWallaceFooter(unittest.TestCase):
script_str = script.__str__()
- print script_str
+ print(script_str)
sieveclient.putscript("test_wallace_test_009_forward", script_str)