From c53195bbf0b9f5b3bf4e8ddd1c6b12b59731a822 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 23 Mar 2016 21:08:25 +0100 Subject: [PATCH] Try to fix test_gdb on s390x SLES 3.x Ignore empty lines in stderr. --- Lib/test/test_gdb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 8e3ccb0d6ad..ccef4223c24 100644 --- a/Lib/test/test_gdb.py +++ b/Lib/test/test_gdb.py @@ -208,6 +208,8 @@ class DebuggerTests(unittest.TestCase): 'warning: ', ) for line in errlines: + if not line: + continue if not line.startswith(ignore_patterns): unexpected_errlines.append(line)