summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2019-05-19 16:45:05 +0000
committerAnthony Sottile <asottile@umich.edu>2019-05-19 16:45:05 +0000
commitb6ba6d4d03109965d3cf5174d5c2e6868d7d92bb (patch)
tree84577eb9fba497ea283e9bcfc50cf64506b353ad /tests
parent89b0bb87d75906ca0acc9f8889776ce96e836ad0 (diff)
parentdcd37ec3d483e75616c22efb58655272cc2cfe4f (diff)
downloadflake8-b6ba6d4d03109965d3cf5174d5c2e6868d7d92bb.tar.gz
Merge branch 'nosec' into 'master'
whitelist a bandit false positive and improve type annotation See merge request pycqa/flake8!318
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test_file_processor.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/test_file_processor.py b/tests/unit/test_file_processor.py
index 582abf2..84b051c 100644
--- a/tests/unit/test_file_processor.py
+++ b/tests/unit/test_file_processor.py
@@ -337,9 +337,9 @@ def test_log_token(token, log_string):
@pytest.mark.parametrize('current_count, token_text, expected', [
- (None, '(', 1),
- (None, '[', 1),
- (None, '{', 1),
+ (0, '(', 1),
+ (0, '[', 1),
+ (0, '{', 1),
(1, ')', 0),
(1, ']', 0),
(1, '}', 0),