Skip to content

Commit

Permalink
another case
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Jun 6, 2024
1 parent 7451a6b commit c18f372
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/jiter-python/tests/test_jiter.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ def test_partial_error():
msg = "Invalid partial mode, should be `'off'`, `'on'`, `'trailing-strings'` or a `bool`"
with pytest.raises(ValueError, match=msg):
jiter.from_json(json, partial_mode='wrong')
with pytest.raises(TypeError, match=msg):
jiter.from_json(json, partial_mode=123)


def test_python_cache_usage_all():
Expand Down

0 comments on commit c18f372

Please sign in to comment.