From e754dbf2d56dcb8d351e37f2173611f726ef8f89 Mon Sep 17 00:00:00 2001 From: spacemanspiff2007 <10754716+spacemanspiff2007@users.noreply.github.com> Date: Thu, 23 Nov 2023 08:21:26 +0100 Subject: [PATCH] 23.11.0 --- tests/test_rule/test_process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_rule/test_process.py b/tests/test_rule/test_process.py index 4eb77950..34bf0c91 100644 --- a/tests/test_rule/test_process.py +++ b/tests/test_rule/test_process.py @@ -47,7 +47,7 @@ async def test_run_func_arg_errors(rule): rule.execute_subprocess(rule.cb, sys.executable, "asfd", 123) assert str(e.value) == 'args[2] is not of type str! "123" (int)' - with pytest.raises(ValueError) as e: + with pytest.raises(TypeError) as e: rule.execute_subprocess( rule.cb, sys.executable, "asfd", additional_python_path=[Path(__file__).parent, 123] )