diff options
author | Radostin Stoyanov <rstoyanov1@gmail.com> | 2018-09-23 17:31:52 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2018-10-30 19:28:01 +0300 |
commit | 147660f02f0cbf1c20623b6312c426cb60c3f3a4 (patch) | |
tree | 0f2eeb6d79d4b4fc8fbf9bcba8ccefb9198353f2 /test/others/ext-tty | |
parent | 7ce23b2a74196678a746d1402e5444179674c9a4 (diff) |
Convert to python3 style print() syntax
Use __future__ imports to keep this working for python2
Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
Diffstat (limited to 'test/others/ext-tty')
-rwxr-xr-x | test/others/ext-tty/run.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/others/ext-tty/run.py b/test/others/ext-tty/run.py index 052f9c1a1..f44b1d946 100755 --- a/test/others/ext-tty/run.py +++ b/test/others/ext-tty/run.py @@ -30,7 +30,7 @@ os.waitpid(-1, os.WNOHANG) # is the process alive os.close(new_master) _, status = os.wait() if not os.WIFSIGNALED(status) or os.WTERMSIG(status) != signal.SIGHUP: - print status + print(status) sys.exit(1) -print "PASS" +print("PASS") |