[New-bugs-announce] [issue18401] Tests for pdb import ~/.pdbrc

Stephen Tonkin report at bugs.python.org
Mon Jul 8 07:35:46 CEST 2013


New submission from Stephen Tonkin:

After a clean check out and a successful build of Python 3.4, doctests were failing when running test_pdb. Specifically, doctests were failing because they were getting a "*** NameError: name 'execfile' is not defined" when running.

It turns out that my ~/.pdbrc file contained a call to execfile(). While removing this line from my ~/.pdbrc file remedied the issue for me, test_pdb probably shouldn't be reading from global configuration when testing the pdb module.

----------
assignee: ronaldoussoren
components: Macintosh, Tests
messages: 192614
nosy: ncoghlan, ronaldoussoren, sptonkin
priority: normal
severity: normal
status: open
title: Tests for pdb import ~/.pdbrc
type: behavior
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18401>
_______________________________________


More information about the New-bugs-announce mailing list