Skip to content

Commit

Permalink
23.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemanspiff2007 committed Nov 23, 2023
1 parent 0f41eb1 commit e754dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_rule/test_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
)
Expand Down

0 comments on commit e754dbf

Please sign in to comment.