Scrapy, a fast high-level web crawling & scraping framework for Python.
Fix flake8 problems in PR #3989 (#4176)
Andrey Rahmatullin78ad01632f16
diff --git a/tests/test_logformatter.py b/tests/test_logformatter.pyindex 5b5d68f4f..afbd25d0c 100644--- a/tests/test_logformatter.py+++ b/tests/test_logformatter.py@@ -62,7 +62,7 @@ class LogFormatterTestCase(unittest.TestCase):lines = logline.splitlines()assert all(isinstance(x, six.text_type) for x in lines)self.assertEqual(lines, [u"Dropped: \u2018", '{}'])-+def test_error(self):# In practice, the complete traceback is shown by passing the# 'exc_info' argument to the logging function@@ -121,7 +121,7 @@ class LogformatterSubclassTest(LogFormatterTestCase):"Crawled (200) <GET http://www.example.com> (referer: http://example.com) ['cached']")def test_flags_in_request(self):- req = Request("http://www.example.com", flags=['test','flag'])+ req = Request("http://www.example.com", flags=['test', 'flag'])res = Response("http://www.example.com")logkws = self.formatter.crawled(req, res, self.spider)logline = logkws['msg'] % logkws['args']