Skip to content

Commit 7cff39b

Browse files
rchen152facebook-github-bot
authored andcommitted
Pull in updated conformance tests
Summary: Updated conformance tests to pull in a few significant PRs: * python/typing#2067 (a fair number of small tweaks) * python/typing#2056 (new test file for dataclasses match_args) * python/typing#2068 (new test file for TypedDict extra items) Reviewed By: samwgoldman Differential Revision: D80424920 fbshipit-source-id: 3d8ac3e70aa86329f0d1adb1af2d2e0837bc5c4e
1 parent b0089db commit 7cff39b

10 files changed

+1258
-14
lines changed

conformance/third_party/classes_classvar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class ClassA(Generic[T, P]):
6363
good4: ClassVar = 3.1
6464
# > If the `ClassVar` qualifier is used without any assigned value, the type
6565
# > should be inferred as `Any`:
66-
good5: ClassVar #E? Type checkers may error on uninitialized ClassVar
66+
good5: ClassVar # E?: Type checkers may error on uninitialized ClassVar
6767
good6: Annotated[ClassVar[list[int]], ""] = []
6868

6969
def method1(self, a: ClassVar[int]): # E: ClassVar not allowed here

0 commit comments

Comments
 (0)