diff options
| author | Anthony Sottile <asottile@umich.edu> | 2019-02-11 14:25:26 +0000 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2019-02-11 14:25:26 +0000 |
| commit | dc7b082b96751c8ef7bfc616f8701d432afa7ef7 (patch) | |
| tree | 8a5e788a7067d5a05007002db1a791ec94527c4c /tests | |
| parent | e7b8493b5d7af36f6c348566a7c3316b30e5b5ee (diff) | |
| parent | 8e99b531cf9002228c4da31dd691a9d229c66362 (diff) | |
| download | flake8-dc7b082b96751c8ef7bfc616f8701d432afa7ef7.tar.gz | |
Merge branch 'allow_multiple_letters_in_codes' into 'master'
FIX 507: allow multiple letters in codes
See merge request pycqa/flake8!303
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/unit/test_utils.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py index 4b70918..dcbf8b8 100644 --- a/tests/unit/test_utils.py +++ b/tests/unit/test_utils.py @@ -90,6 +90,11 @@ def test_parse_comma_separated_list(value, expected): ['f.py:E,F', 'g.py:G,H'], [('f.py', ['E', 'F']), ('g.py', ['G', 'H'])], ), + # six-digits codes are allowed + ( + 'f.py: ABC123', + [('f.py', ['ABC123'])], + ) ), ) def test_parse_files_to_codes_mapping(value, expected): |
