diff options
author | kotfu <kotfu@kotfu.net> | 2018-05-06 10:07:27 -0600 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2018-05-06 10:07:27 -0600 |
commit | e945560fe80087bbd0bf91c41e37b17131e83e69 (patch) | |
tree | 5eaebe4996cf0a739159b8c4b12b9349b5f9abdf /tests/test_parsing.py | |
parent | 0efb62cfc2b80dabcf0e94ad3315e3ea32c02d4f (diff) | |
download | cmd2-git-e945560fe80087bbd0bf91c41e37b17131e83e69.tar.gz |
Fix pylint warnings
Diffstat (limited to 'tests/test_parsing.py')
-rw-r--r-- | tests/test_parsing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_parsing.py b/tests/test_parsing.py index 1ebadae8..4b972d51 100644 --- a/tests/test_parsing.py +++ b/tests/test_parsing.py @@ -46,7 +46,7 @@ def test_tokenize(parser, line, tokens): def test_tokenize_unclosed_quotes(parser): with pytest.raises(ValueError): - tokens = parser.tokenize('command with "unclosed quotes') + _ = parser.tokenize('command with "unclosed quotes') @pytest.mark.parametrize('tokens,command,args', [ ([], None, None), @@ -313,7 +313,7 @@ def test_parse_redirect_to_unicode_filename(parser): def test_parse_unclosed_quotes(parser): with pytest.raises(ValueError): - tokens = parser.tokenize("command with 'unclosed quotes") + _ = parser.tokenize("command with 'unclosed quotes") def test_empty_statement_raises_exception(): app = cmd2.Cmd() |