Skip to content

Commit

Permalink
fix test test_decoder__time
Browse files Browse the repository at this point in the history
  • Loading branch information
baptiste bayche committed Jun 25, 2024
1 parent b3f3260 commit bd1c795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/datavalue_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ def other_value(**kwargs) -> Dict[str, object]:
d(fx_client, datatype, other_value(precision=None))
# precision field is missing
for p in range(1, 15):
if p in (9, 11, 14):
if p in (7, 9, 11, 14):
continue
with raises(DatavalueError):
d(fx_client, datatype, other_value(precision=p))
# precision (other than 11 or 14) is unsupported
# precision (other than 7, 9, 11 or 14) is unsupported


def test_decoder_monolingualtext(fx_client: Client):
Expand Down

0 comments on commit bd1c795

Please sign in to comment.