Skip to content

Commit c6a1a31

Browse files
committed
Fix test
1 parent 0ec4e4e commit c6a1a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_typing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7159,7 +7159,7 @@ class C:
71597159
self.assertEqual(get_type_hints(C, format=annotationlib.Format.STRING),
71607160
{'x': 'undefined'})
71617161
# Make sure using an int as format also works:
7162-
self.assertEqual(get_type_hints(C, format=3), {'x': 'undefined'})
7162+
self.assertEqual(get_type_hints(C, format=4), {'x': 'undefined'})
71637163

71647164
def test_get_type_hints_format_function(self):
71657165
def func(x: undefined) -> undefined: ...

0 commit comments

Comments
 (0)