diff options
author | 2011-08-03 21:29:42 +0200 | |
---|---|---|
committer | 2011-08-03 21:29:42 +0200 | |
commit | aa4e534c8cf888844ea1501aab94de0f59e1223f (patch) | |
tree | 2014abd53d795563d619e04efd1f41a049ed79d7 | |
parent | Whitespace. (diff) | |
download | pms-test-suite-aa4e534c8cf888844ea1501aab94de0f59e1223f.tar.gz pms-test-suite-aa4e534c8cf888844ea1501aab94de0f59e1223f.tar.bz2 pms-test-suite-aa4e534c8cf888844ea1501aab94de0f59e1223f.zip |
Use print() function explicitly.
-rw-r--r-- | pmstestsuite/cli.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pmstestsuite/cli.py b/pmstestsuite/cli.py index bd9ee42..9a44796 100644 --- a/pmstestsuite/cli.py +++ b/pmstestsuite/cli.py @@ -2,6 +2,8 @@ # (c) 2011 Michał Górny <mgorny@gentoo.org> # Released under the terms of the 2-clause BSD license. +from __future__ import print_function + import os, os.path, shlex import gobject @@ -156,8 +158,8 @@ class PMSTestSuiteCLI(object): print('- %s [%s]' % (t, 'OK' if t not in self.failed else 'FAILED')) for a in t.assertions: - print '-> %s: %s [%s]' % (a.name, str(a), - 'OK' if a else 'FAILED') + print('-> %s: %s [%s]' % (a.name, str(a), + 'OK' if a else 'FAILED')) self.ret = 0 if not self.failed else 1 self.loop.quit() |