You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
protocols_definition.py:341: error: Incompatible types in assignment (expression has type "Concrete6_Bad3", variable has type "Template6") [assignment]
protocols_definition.py:369: error: Incompatible types in assignment (expression has type "Concrete7_Bad1", variable has type "Template7") [assignment]
55
+
protocols_definition.py:369: note: Protocol member Template7.val1 expected class variable, got instance variable
56
+
protocols_definition.py:370: error: Incompatible types in assignment (expression has type "Concrete7_Bad2", variable has type "Template7") [assignment]
Copy file name to clipboardExpand all lines: conformance/results/pycroscope/protocols_definition.toml
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,10 @@
1
-
conformance_automated = "Pass"
1
+
conformance_automated = "Fail"
2
+
conformant = "Partial"
3
+
notes = """
4
+
Incorrectly accepts an instance-only attribute as satisfying a `ClassVar` protocol member.
5
+
"""
2
6
errors_diff = """
7
+
Line 369: Expected 1 errors
3
8
"""
4
9
output = """
5
10
./protocols_definition.py:30:10: Incompatible argument type for things: expected collections.abc.Iterable[./protocols_definition.py.SupportsClose] but got Literal[[1]] [incompatible_argument]
protocols_definition.py:341: error: Incompatible types in assignment (expression has type "Concrete6_Bad3", variable has type "Template6") [assignment]
protocols_definition.py:369: error: Incompatible types in assignment (expression has type "Concrete7_Bad1", variable has type "Template7") [assignment]
71
+
protocols_definition.py:369: note: Protocol member Template7.val1 expected class variable, got instance variable
72
+
protocols_definition.py:370: error: Incompatible types in assignment (expression has type "Concrete7_Bad2", variable has type "Template7") [assignment]
0 commit comments