Try to fix test_gdb on s390x SLES 3.x

Ignore empty lines in stderr.
This commit is contained in:
Victor Stinner 2016-03-23 21:08:25 +01:00
parent 63fd8b0c92
commit c53195bbf0
1 changed files with 2 additions and 0 deletions

View File

@ -208,6 +208,8 @@ class DebuggerTests(unittest.TestCase):
'warning: ', 'warning: ',
) )
for line in errlines: for line in errlines:
if not line:
continue
if not line.startswith(ignore_patterns): if not line.startswith(ignore_patterns):
unexpected_errlines.append(line) unexpected_errlines.append(line)