summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gdb.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-23 20:08:25 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-23 20:08:25 (GMT)
commitc53195bbf0b9f5b3bf4e8ddd1c6b12b59731a822 (patch)
tree246aac0b8909ae1008ece806976b7abd30370652 /Lib/test/test_gdb.py
parent63fd8b0c92488f1d5fff9ccf6f79933d79b27168 (diff)
downloadcpython-c53195bbf0b9f5b3bf4e8ddd1c6b12b59731a822.zip
cpython-c53195bbf0b9f5b3bf4e8ddd1c6b12b59731a822.tar.gz
cpython-c53195bbf0b9f5b3bf4e8ddd1c6b12b59731a822.tar.bz2
Try to fix test_gdb on s390x SLES 3.x
Ignore empty lines in stderr.
Diffstat (limited to 'Lib/test/test_gdb.py')
-rw-r--r--Lib/test/test_gdb.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
index 8e3ccb0..ccef422 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)