Skip to content

Commit d932665

Browse files
committed
fix 3.9/3.10
1 parent 83ff33a commit d932665

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test_typing_extensions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5154,9 +5154,9 @@ def test_inline(self):
51545154

51555155
def test_annotations(self):
51565156
# _type_check is applied
5157-
with self.assertRaisesRegex(TypeError, "Plain typing.Final is not valid as type argument"):
5157+
with self.assertRaisesRegex(TypeError, "Plain typing.Optional is not valid as type argument"):
51585158
class X(TypedDict):
5159-
a: Final
5159+
a: Optional
51605160

51615161
# _type_convert is applied
51625162
class Y(TypedDict):

0 commit comments

Comments
 (0)