Skip to content

Commit e945560

Browse files
committed
Fix pylint warnings
1 parent 0efb62c commit e945560

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_parsing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_tokenize(parser, line, tokens):
4646

4747
def test_tokenize_unclosed_quotes(parser):
4848
with pytest.raises(ValueError):
49-
tokens = parser.tokenize('command with "unclosed quotes')
49+
_ = parser.tokenize('command with "unclosed quotes')
5050

5151
@pytest.mark.parametrize('tokens,command,args', [
5252
([], None, None),
@@ -313,7 +313,7 @@ def test_parse_redirect_to_unicode_filename(parser):
313313

314314
def test_parse_unclosed_quotes(parser):
315315
with pytest.raises(ValueError):
316-
tokens = parser.tokenize("command with 'unclosed quotes")
316+
_ = parser.tokenize("command with 'unclosed quotes")
317317

318318
def test_empty_statement_raises_exception():
319319
app = cmd2.Cmd()

0 commit comments

Comments
 (0)