From 62916a79e26aa1422ad1fd249fb057008a184443 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 14 May 2021 14:07:02 +0200 Subject: [PATCH] print() is a function in Python 3 --- run_tests.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/run_tests.py b/run_tests.py index 072fe01..0b76d5f 100644 --- a/run_tests.py +++ b/run_tests.py @@ -23,8 +23,7 @@ if __name__ == '__main__': # Run the tests for fname in test_files: - print 'Running "%s"...'%(os.path.splitext(os.path.split(fname)[-1])[0]) + print('Running "%s"...'%(os.path.splitext(os.path.split(fname)[-1])[0])) doctest.testfile(fname) - print 'Finished!' - + print('Finished!')