summaryrefslogtreecommitdiffstats
path: root/test/option/debug-multiple.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option/debug-multiple.py')
-rw-r--r--test/option/debug-multiple.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/test/option/debug-multiple.py b/test/option/debug-multiple.py
index f5bbdf0..f121a2c 100644
--- a/test/option/debug-multiple.py
+++ b/test/option/debug-multiple.py
@@ -21,6 +21,8 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+from __future__ import print_function
+
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
"""
@@ -65,16 +67,16 @@ for args in ['--debug=prepare,count', '--debug=count,prepare']:
missing = [o for o in objects if find_object_count(o, stdout) is None]
if missing:
- print "Missing the following object lines from '%s' output:" % args
- print "\t", ' '.join(missing)
- print "STDOUT =========="
- print stdout
+ print("Missing the following object lines from '%s' output:" % args)
+ print("\t", ' '.join(missing))
+ print("STDOUT ==========")
+ print(stdout)
test.fail_test(1)
if 'Preparing target file.out...' not in stdout:
- print "Missing 'Preparing' lines from '%s' output:" % args
- print "STDOUT =========="
- print stdout
+ print("Missing 'Preparing' lines from '%s' output:" % args)
+ print("STDOUT ==========")
+ print(stdout)
test.fail_test(1)
test.pass_test()