[New-bugs-announce] [issue10331] test_gdb failure when warnings printed out
Antoine Pitrou
report at bugs.python.org
Fri Nov 5 22:30:26 CET 2010
New submission from Antoine Pitrou <pitrou at free.fr>:
There is this kind of failures on Barry's new buildbot. It looks like warning messages should be ignored when checking gdb output:
======================================================================
FAIL: test_NULL_ob_type (test.test_gdb.PrettyPrintTests)
Ensure that a PyObject* with NULL ob_type is handled gracefully
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/lib/buildbot/buildarea/3.x.warsaw-ubuntu-ppc/build/Lib/test/test_gdb.py", line 390, in test_NULL_ob_type
'set v->ob_type=0')
File "/var/lib/buildbot/buildarea/3.x.warsaw-ubuntu-ppc/build/Lib/test/test_gdb.py", line 361, in assertSane
cmds_after_breakpoint=cmds_after_breakpoint)
File "/var/lib/buildbot/buildarea/3.x.warsaw-ubuntu-ppc/build/Lib/test/test_gdb.py", line 150, in get_gdb_repr
import_site=import_site)
File "/var/lib/buildbot/buildarea/3.x.warsaw-ubuntu-ppc/build/Lib/test/test_gdb.py", line 132, in get_stack_trace
self.assertEquals(err, '')
AssertionError: '\nwarning: not using untrusted file "/home/barry/.gdbinit"\n' != ''
-
- warning: not using untrusted file "/home/barry/.gdbinit"
See http://www.python.org/dev/buildbot/builders/PPC%20Ubuntu%203.x/builds/0/steps/test/logs/stdio
----------
assignee: dmalcolm
components: Tests
messages: 120537
nosy: barry, dmalcolm, pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: test_gdb failure when warnings printed out
type: behavior
versions: Python 2.7, Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10331>
_______________________________________
More information about the New-bugs-announce
mailing list