[issue2604] doctest.DocTestCase fails when run repeatedly

James Henstridge report at bugs.python.org
Fri Apr 11 11:22:31 CEST 2008


James Henstridge <james at jamesh.id.au> added the comment:

If I create a test case with a command like:

   test = DocFileSuite('foo.txt', globs={'somelist': [42]})

The doctest isn't doing anything wrong if it modifies somelist.

Furthermore, Glyph has said he thinks the current --until-failure
behaviour in trial is a mistake: http://glyf.livejournal.com/72505.html

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2604>
__________________________________


More information about the Python-bugs-list mailing list