#2767: don't clear globs in run() call, since they could be needed in tearDown,
which clears them at the end.
This commit is contained in:
parent
45141d0057
commit
1b4758d276
|
@ -2211,7 +2211,7 @@ class DocTestCase(unittest.TestCase):
|
|||
self.setUp()
|
||||
runner = DebugRunner(optionflags=self._dt_optionflags,
|
||||
checker=self._dt_checker, verbose=False)
|
||||
runner.run(self._dt_test)
|
||||
runner.run(self._dt_test, clear_globs=False)
|
||||
self.tearDown()
|
||||
|
||||
def id(self):
|
||||
|
|
Loading…
Reference in New Issue