Skip to content

Commit c9dc579

Browse files
committed
Updated parse_raw_promptinput validation tests - uv pre-commit installed
Signed-off-by: Kayvan Mivehnejad <[email protected]>
1 parent 151eb3b commit c9dc579

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/test_inputs.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,6 @@
3333
slice(None, None, -2),
3434
]
3535

36-
# List of lists that prompt[0] passes test case#4, but no TypeError will be raised.
37-
@pytest.mark.parametrize(
38-
"invalid_input",
39-
[
40-
[[1, 2], ["foo", "bar"]]
41-
]
42-
)
43-
def test_invalid_input_raise_type_error(invalid_input):
44-
with pytest.raises(TypeError):
45-
parse_raw_prompts(invalid_input)
4636

4737
# Test that a nested mixed-type list of lists raises a TypeError.
4838
@pytest.mark.parametrize("invalid_input", [[[1, 2], ["foo", "bar"]]])

0 commit comments

Comments
 (0)