File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 4848from test .test_inspect import inspect_fodder2 as mod2
4949from test .test_inspect import inspect_stringized_annotations
5050from test .test_inspect import inspect_deferred_annotations
51+ from test .test_typing import EqualToForwardRef
5152
5253
5354# Functions tested in this suite:
@@ -4912,7 +4913,7 @@ def test_signature_annotation_format(self):
49124913 )
49134914 self .assertEqual (
49144915 signature_func (ida .f , annotation_format = Format .FORWARDREF ),
4915- sig ([par ("x" , PORK , annotation = ForwardRef ("undefined" ))])
4916+ sig ([par ("x" , PORK , annotation = EqualToForwardRef ("undefined" ))])
49164917 )
49174918 with self .assertRaisesRegex (NameError , "undefined" ):
49184919 signature_func (ida .f , annotation_format = Format .VALUE )
You can’t perform that action at this time.
0 commit comments