Skip to content

Commit

Permalink
adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Jun 28, 2024
1 parent 9e27df1 commit 2120299
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/typecheck/managers/test_managers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@
- path: myapp/models.py
content: |
from typing import ClassVar, TypeVar
from typing_extensions import Self
from django.db import models
T = TypeVar("T", bound="MyModel")
Expand All @@ -597,7 +598,7 @@
pass
class MySubModel(MyModel):
objects: ClassVar[MySubManager["MySubModel"]] = MySubManager()
objects: ClassVar[MySubManager[Self]] = MySubManager()
- case: subclass_manager_without_type_parameters_disallow_any_generics
main: |
Expand Down

0 comments on commit 2120299

Please sign in to comment.