Whitespace changes
This commit is contained in:
parent
822c100f52
commit
6b76d5defa
@ -975,12 +975,12 @@ class CommandDispatcher:
|
|||||||
self._tab_focus_last()
|
self._tab_focus_last()
|
||||||
return
|
return
|
||||||
index = count if count is not None else index
|
index = count if count is not None else index
|
||||||
|
|
||||||
if index is None:
|
if index is None:
|
||||||
self.tab_next()
|
self.tab_next()
|
||||||
return
|
return
|
||||||
elif index == 0:
|
elif index == 0:
|
||||||
index = self._count()
|
index = self._count()
|
||||||
|
|
||||||
elif index < 0:
|
elif index < 0:
|
||||||
index = self._count() + index + 1
|
index = self._count() + index + 1
|
||||||
|
|
||||||
|
@ -431,7 +431,6 @@ class TestArgument:
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
expected = "zero_count argument cannot exist without count!"
|
expected = "zero_count argument cannot exist without count!"
|
||||||
|
|
||||||
assert str(excinfo.value) == expected
|
assert str(excinfo.value) == expected
|
||||||
|
|
||||||
def test_no_docstring(self, caplog):
|
def test_no_docstring(self, caplog):
|
||||||
|
Loading…
Reference in New Issue
Block a user