[New-bugs-announce] [issue2604] doctest.DocTestCase fails when run repeatedly

Piet Delport report at bugs.python.org
Thu Apr 10 05:40:47 CEST 2008

New submission from Piet Delport <pjdelport at gmail.com>:

DocTestCase.tearDown destructively clears its DocTest instance's globs,
preventing the test from being run repeatedly (such as with trial

There's a fix for this in zope.testing's version of doctest, which
resets the globs instead:


components: Library (Lib)
messages: 65285
nosy: pjd
severity: normal
status: open
title: doctest.DocTestCase fails when run repeatedly
type: behavior
versions: Python 2.4, Python 2.5, Python 2.6, Python 3.0

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list