Skip to content

Commit

Permalink
Annotate test_fields package
Browse files Browse the repository at this point in the history
  • Loading branch information
mthuurne committed Apr 16, 2024
1 parent 3701b6f commit d0b821a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_fields/test_split_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_assign_to_content(self) -> None:

def test_assign_to_excerpt(self) -> None:
with self.assertRaises(AttributeError):
self.post.body.excerpt = 'this should fail'
self.post.body.excerpt = 'this should fail' # type: ignore[misc]

def test_access_via_class(self) -> None:
with self.assertRaises(AttributeError):
Expand Down

0 comments on commit d0b821a

Please sign in to comment.