Skip to content

Commit b8c8833

Browse files
authored
Fix TypedDict test case on Python 3.5 (#10418)
Class-based TypedDict syntax requires Python 3.6+.
1 parent ed6d7d1 commit b8c8833

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test-data/unit/check-narrowing.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,6 +1031,7 @@ else:
10311031
[builtins fixtures/primitives.pyi]
10321032

10331033
[case testNarrowingTypedDictUsingEnumLiteral]
1034+
# flags: --python-version 3.6
10341035
from typing import Union
10351036
from typing_extensions import TypedDict, Literal
10361037
from enum import Enum

0 commit comments

Comments
 (0)