Revert "Fix argparser test after win_registry change."
This reverts commit 70243d6e2f
.
This commit is contained in:
parent
e7a52a0833
commit
8b40603562
@ -47,10 +47,8 @@ class TestArgumentParser:
|
||||
@pytest.yield_fixture
|
||||
def tabbed_browser(self, win_registry):
|
||||
tb = FakeTabbedBrowser()
|
||||
objreg.register('last-focused-main-window', win_registry[0])
|
||||
objreg.register('tabbed-browser', tb, scope='window', window=0)
|
||||
yield tb
|
||||
objreg.delete('last-focused-main-window')
|
||||
objreg.delete('tabbed-browser', scope='window', window=0)
|
||||
|
||||
def test_name(self, parser):
|
||||
|
Loading…
Reference in New Issue
Block a user