Remove unused test method

This commit is contained in:
Matthias
2024-03-25 20:21:29 +01:00
parent 41d508867e
commit 50cd36acbd

View File

@@ -795,9 +795,6 @@ def test_strategy_safe_wrapper_error(caplog, error):
def failing_method(): def failing_method():
raise error('This is an error.') raise error('This is an error.')
def working_method(argumentpassedin):
return argumentpassedin
with pytest.raises(StrategyError, match=r'This is an error.'): with pytest.raises(StrategyError, match=r'This is an error.'):
strategy_safe_wrapper(failing_method, message='DeadBeef')() strategy_safe_wrapper(failing_method, message='DeadBeef')()