lint: pointless-exception-statement

It does actually raise an AssertionError as a side effect
This commit is contained in:
toofar 2023-02-06 19:28:10 +13:00
parent ce134c9662
commit 86f7554a7a
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ def test_no_option_error(deleted, renamed, all_names, expected):
def test_no_option_error_clash():
with pytest.raises(AssertionError):
configexc.NoOptionError('opt', deleted=True, renamed='foo')
_ = configexc.NoOptionError('opt', deleted=True, renamed='foo')
def test_no_autoconfig_error():