PEP8 fixes.

This commit is contained in:
Michael Lazar
2015-12-03 00:20:20 -08:00
parent a7b789bfd9
commit 5a0932f6d3
11 changed files with 10 additions and 12 deletions

View File

@@ -17,7 +17,7 @@ def test_page_logged_in(terminal):
page.term = terminal
@logged_in
def func(page):
def func(_):
raise RuntimeError()
# Logged in runs the function
@@ -45,7 +45,7 @@ def test_page_unauthenticated(reddit, terminal, config, oauth):
mock.patch.object(page, 'draw'):
# Loop
def func(ch):
def func(_):
page.active = False
with mock.patch.object(page, 'controller'):
page.controller.trigger = mock.MagicMock(side_effect=func)