Skip to content

Commit 032a874

Browse files
pre-commit-ci[bot]kianelbo
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 68acade commit 032a874

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

testing/python/fixtures.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4618,15 +4618,16 @@ def none_return() -> None:
46184618
def test_custom_class_return_type(self):
46194619
class T:
46204620
pass
4621+
46214622
def class_return() -> T:
46224623
return T()
4623-
4624+
46244625
assert get_return_annotation(class_return) == "T"
46254626

46264627
def test_enum_return_type(self):
46274628
def enum_return() -> ExitCode:
46284629
return ExitCode(0)
4629-
4630+
46304631
assert get_return_annotation(enum_return) == "ExitCode"
46314632

46324633

0 commit comments

Comments
 (0)