Annotate test_fields package

This commit is contained in:
Maarten ter Huurne 2024-04-16 08:24:07 +02:00
parent 8f0b4ee2f8
commit 23a756e13e

View file

@ -49,7 +49,7 @@ class SplitFieldTests(TestCase):
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):