mirror of https://github.com/python/cpython
Try to fix test_gdb on s390x SLES 3.x
Ignore empty lines in stderr.
This commit is contained in:
parent
63fd8b0c92
commit
c53195bbf0
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue