Commit 1df6623
committed
Restore class-decorator overload annotation for freeze_time
This was removed in f9235ae without explanation, possibly because mypy objects to the overlap under Python 3.13. But Pytype needs that to infer that the type is unchanged when a class is decorated with `@freezegun.freeze_time` (unlike mypy, which assumes class decorators, unlike function decorators, always leave the type unchanged).1 parent ba06fa4 commit 1df6623
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
635 | 642 | | |
636 | 643 | | |
637 | 644 | | |
| |||
0 commit comments