summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2021-03-29 17:23:34 -0700
committerAnthony Sottile <asottile@umich.edu>2021-03-29 20:21:36 -0700
commit55f29c636f8eb80ec6544169c59ff3ab7733d1a1 (patch)
treee4ec70b3617c62970ab9dd94e7798147b1a46ae5 /tests/unit
parent1d5dd156ab9f2e37e40f95eb15c5a2c2cd49a7a9 (diff)
downloadflake8-55f29c636f8eb80ec6544169c59ff3ab7733d1a1.tar.gz
introduce pyupgrade, run it in python2-compatible mode
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/test_file_processor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_file_processor.py b/tests/unit/test_file_processor.py
index 0215ddf..b72e064 100644
--- a/tests/unit/test_file_processor.py
+++ b/tests/unit/test_file_processor.py
@@ -130,7 +130,7 @@ def test_noqa_line_for(default_options):
])
for i in range(1, 4):
- assert file_processor.noqa_line_for(i) == 'Line {0}\n'.format(i)
+ assert file_processor.noqa_line_for(i) == 'Line {}\n'.format(i)
def test_noqa_line_for_continuation(default_options):