mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-05-03 16:24:42 +00:00
Annotate test_fields package
This commit is contained in:
parent
8f0b4ee2f8
commit
23a756e13e
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue