1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Appeased flake8 2.1.0.

This commit is contained in:
Aymeric Augustin
2014-04-21 12:25:43 +02:00
parent df3b1a01c7
commit 428c0bbe1b
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'),