Skip to content

Commit 9630d92

Browse files
committed
Fixed linting error.
1 parent 883d87c commit 9630d92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_argparse_custom.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ def test_apcustom_choices_callables_wrong_property() -> None:
8282
"""Test using the wrong property when retrieving the to_call value from a ChoicesCallable."""
8383
choices_callable = ChoicesCallable(is_completer=True, to_call=fake_func)
8484
with pytest.raises(AttributeError) as excinfo:
85-
to_call = choices_callable.choices_provider
85+
_ = choices_callable.choices_provider
8686
assert 'This instance is configured as a completer' in str(excinfo.value)
8787

8888
choices_callable = ChoicesCallable(is_completer=False, to_call=fake_func)
8989
with pytest.raises(AttributeError) as excinfo:
90-
to_call = choices_callable.completer
90+
_ = choices_callable.completer
9191
assert 'This instance is configured as a choices_provider' in str(excinfo.value)
9292

9393

0 commit comments

Comments
 (0)