Skip to content

Commit

Permalink
fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
austinpgraham committed Jul 15, 2024
1 parent 687d706 commit 4b741e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,5 +226,5 @@ class ValidateAssignmentSchema(Schema):
assert schema_inst.str_var == "reassigned_value"
try:
schema_inst.str_var = 5
except ValidationError:
raise AssertionError()
except ValidationError as ve:
raise AssertionError() from ve

0 comments on commit 4b741e4

Please sign in to comment.