Pylint fixes.
This commit is contained in:
@@ -50,7 +50,7 @@ class SubscriptionPage(Page):
|
|||||||
|
|
||||||
self.active = False
|
self.active = False
|
||||||
|
|
||||||
def _draw_item(self, win, data, inverted=False):
|
def _draw_item(self, win, data, inverted):
|
||||||
n_rows, n_cols = win.getmaxyx()
|
n_rows, n_cols = win.getmaxyx()
|
||||||
n_cols -= 1 # Leave space for the cursor in the first column
|
n_cols -= 1 # Leave space for the cursor in the first column
|
||||||
|
|
||||||
|
|||||||
@@ -12,11 +12,6 @@ from rtv.content import (
|
|||||||
Content, SubmissionContent, SubredditContent, SubscriptionContent)
|
Content, SubmissionContent, SubredditContent, SubscriptionContent)
|
||||||
from rtv import exceptions
|
from rtv import exceptions
|
||||||
|
|
||||||
try:
|
|
||||||
from unittest import mock
|
|
||||||
except ImportError:
|
|
||||||
import mock
|
|
||||||
|
|
||||||
|
|
||||||
def test_content_humanize_timestamp():
|
def test_content_humanize_timestamp():
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user