From 50cd36acbdf8e410b628021b1a3b5367dbaa422c Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 25 Mar 2024 20:21:29 +0100 Subject: [PATCH] Remove unused test method --- tests/strategy/test_interface.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/strategy/test_interface.py b/tests/strategy/test_interface.py index 645cae887..dbff49b57 100644 --- a/tests/strategy/test_interface.py +++ b/tests/strategy/test_interface.py @@ -795,9 +795,6 @@ def test_strategy_safe_wrapper_error(caplog, error): def failing_method(): raise error('This is an error.') - def working_method(argumentpassedin): - return argumentpassedin - with pytest.raises(StrategyError, match=r'This is an error.'): strategy_safe_wrapper(failing_method, message='DeadBeef')()