undo incorrect merge

This commit is contained in:
meejah 2019-08-08 21:06:15 -06:00
parent 68036dd773
commit 19e16243d7

View File

@ -532,14 +532,13 @@ class CLI(CLITestMixin, unittest.TestCase):
# it's safe to drop it on the floor.
del d
patcher = MonkeyPatcher(
(runner, 'parse_or_exit_with_explanation', call_parse_or_exit),
(runner, "_setup_coverage", lambda r: None),
(sys, 'argv', ["tahoe"]),
(sys, 'exit', call_sys_exit),
(sys, 'stderr', stderr),
(task, 'react', fake_react),
)
patcher = MonkeyPatcher((runner, 'parse_or_exit_with_explanation',
call_parse_or_exit),
(sys, 'argv', ["tahoe"]),
(sys, 'exit', call_sys_exit),
(sys, 'stderr', stderr),
(task, 'react', fake_react),
)
patcher.runWithPatches(runner.run)
self.failUnless(ns.parse_called)