From: Victor Stinner Date: Wed, 23 Mar 2016 20:08:25 +0000 (+0100) Subject: Try to fix test_gdb on s390x SLES 3.x X-Git-Tag: v3.6.0a1~364 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c53195bbf0b9f5b3bf4e8ddd1c6b12b59731a822;p=thirdparty%2FPython%2Fcpython.git Try to fix test_gdb on s390x SLES 3.x Ignore empty lines in stderr. --- diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 8e3ccb0d6adf..ccef4223c241 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)