File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments