Kaydet (Commit) 1b4758d2 authored tarafından Georg Brandl's avatar Georg Brandl

#2767: don't clear globs in run() call, since they could be needed in tearDown,

which clears them at the end.
üst 45141d00
...@@ -2211,7 +2211,7 @@ class DocTestCase(unittest.TestCase): ...@@ -2211,7 +2211,7 @@ class DocTestCase(unittest.TestCase):
self.setUp() self.setUp()
runner = DebugRunner(optionflags=self._dt_optionflags, runner = DebugRunner(optionflags=self._dt_optionflags,
checker=self._dt_checker, verbose=False) checker=self._dt_checker, verbose=False)
runner.run(self._dt_test) runner.run(self._dt_test, clear_globs=False)
self.tearDown() self.tearDown()
def id(self): def id(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment