diff options
-rw-r--r-- | test/hook.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hook.py b/test/hook.py index d7bfef6c101..7287aaa1920 100644 --- a/test/hook.py +++ b/test/hook.py @@ -182,7 +182,7 @@ class StepHook(PollHook): while True: print("Enter your choice, if any, and press ENTER to continue " "running the testcase...") - choice = sys.stdin.readline() + choice = sys.stdin.readline().rstrip('\r\n') if choice == "": choice = None try: |