We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68acade commit 032a874Copy full SHA for 032a874
testing/python/fixtures.py
@@ -4618,15 +4618,16 @@ def none_return() -> None:
4618
def test_custom_class_return_type(self):
4619
class T:
4620
pass
4621
+
4622
def class_return() -> T:
4623
return T()
-
4624
4625
assert get_return_annotation(class_return) == "T"
4626
4627
def test_enum_return_type(self):
4628
def enum_return() -> ExitCode:
4629
return ExitCode(0)
4630
4631
assert get_return_annotation(enum_return) == "ExitCode"
4632
4633
0 commit comments