X-Git-Url: https://git.phdru.name/?p=m_lib.git;a=blobdiff_plain;f=m_lib%2Fflad%2Ftest%2Ftest5.py;h=9edc5b46923cc63e7192e38df8dcc7929429777c;hp=45b70aaa5445ff00c2303893dbc2d014cb489b35;hb=fb3af94919a9ee18ba1c35f927f19837f057fa1f;hpb=9a523766e02fc3c5d1df4550385a604dca8e6e80 diff --git a/m_lib/flad/test/test5.py b/m_lib/flad/test/test5.py index 45b70aa..9edc5b4 100755 --- a/m_lib/flad/test/test5.py +++ b/m_lib/flad/test/test5.py @@ -1,18 +1,19 @@ #! /usr/bin/env python +from __future__ import print_function from m_lib.flad import fladc def test(): - print "Test:", + print("Test:", end=' ') try: # Note! This must raise fladc.error - too many records in the file conf = fladc.load_file("test.txt") except fladc.error: - print "Ok" + print("Ok") else: - print "Error!" + print("Error!") if __name__ == "__main__":