1
0
mirror of https://github.com/django/django.git synced 2025-10-31 01:25:32 +00:00

[1.7.x] Appeased flake8 2.1.0.

Backport of 428c0bbe1b from master
This commit is contained in:
Aymeric Augustin
2014-04-21 12:25:43 +02:00
committed by Tim Graham
parent 50dddbdfc7
commit 62eb79fc4c
13 changed files with 26 additions and 28 deletions

View File

@@ -160,7 +160,7 @@ class WriterTests(TestCase):
# In order to preserve compatibility with Python 3.2 unicode literals
# prefix shouldn't be added to strings.
tokens = tokenize.generate_tokens(six.StringIO(str(output)).readline)
for token_type, token_source, (srow, scol), _, line in tokens:
for token_type, token_source, (srow, scol), __, line in tokens:
if token_type == tokenize.STRING:
self.assertFalse(
token_source.startswith('u'),