[issue2767] "doctest.DocTestCase.debug" clears "test.globs" too early

Dieter Maurer report at bugs.python.org
Mon May 5 11:32:26 CEST 2008


New submission from Dieter Maurer <dieter at handshake.de>:

"doctest.DocTestCase.debug" calls "DebugRunner.run" without
"clear_globs=False". As a consequence, already the runner clears
"test.globs" and it is no longer available to "tearDown" (where
is it cleared again).

----------
components: Library (Lib)
messages: 66262
nosy: dmaurer
severity: normal
status: open
title: "doctest.DocTestCase.debug" clears "test.globs" too early
type: behavior
versions: Python 2.6

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


More information about the Python-bugs-list mailing list