Skip to content

Commit

Permalink
fix: don't compare message in other library.
Browse files Browse the repository at this point in the history
jsonschema validation error message was changed. I think it is very flaky test.
  • Loading branch information
kitagry committed Jan 22, 2024
1 parent d380868 commit 0e21aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/list_parameter_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def test_schema(self):
a.normalize(["INVALID_ATTRIBUTE"])

# Check that empty list is not valid
with pytest.raises(ValidationError, match=r"\[\] is too short"):
with pytest.raises(ValidationError):
a.normalize([])

# Check that valid lists work
Expand Down

0 comments on commit 0e21aa5

Please sign in to comment.