Fix flake8 errors

This commit is contained in:
Ryan Roden-Corrent 2017-06-14 07:15:42 -04:00
parent c7a18a8b8d
commit 891a6bcf14
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ class WebHistory(sql.SqlTable):
self.completion.insert({'url': url_str,
'title': title,
'last_atime': atime},
replace=True)
replace=True)
def _parse_entry(self, line):
"""Parse a history line like '12345 http://example.com title'."""

View File

@ -79,7 +79,7 @@ def test_insert_batch_replace(qtbot):
table.insert_batch({'name': ['one', 'nine'],
'val': [11, 19],
'lucky': [True, True]},
replace=True)
replace=True)
assert list(table) == [('thirteen', 13, True),
('one', 11, True),