Skip to content

Commit 00e0804

Browse files
python test.py
1 parent cf52028 commit 00e0804

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

conformance/third_party/conformance.exp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4982,17 +4982,6 @@
49824982
"stop_column": 17,
49834983
"stop_line": 34
49844984
},
4985-
{
4986-
"code": -2,
4987-
"column": 12,
4988-
"concise_description": "Returned type `bytes | Unknown` is not assignable to declared return type `AnyStr`",
4989-
"description": "Returned type `bytes | Unknown` is not assignable to declared return type `AnyStr`",
4990-
"line": 34,
4991-
"name": "bad-return",
4992-
"severity": "error",
4993-
"stop_column": 17,
4994-
"stop_line": 34
4995-
},
49964985
{
49974986
"code": -2,
49984987
"column": 15,

conformance/third_party/conformance.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
"Line 98: Expected 1 errors"
129129
],
130130
"generics_basic.py": [
131-
"Line 34: Unexpected errors ['`+` is not supported between `AnyStr` and `AnyStr`\\n Argument `AnyStr` is not assignable to parameter `value` with type `Buffer` in function `bytes.__add__`\\n Protocol `Buffer` requires attribute `__buffer__`', '`+` is not supported between `AnyStr` and `AnyStr`\\n No matching overload found for function `str.__add__` called with arguments: (AnyStr)\\n Possible overloads:\\n (value: LiteralString, /) -> LiteralString\\n (value: str, /) -> str [closest match]', 'Returned type `bytes | Unknown` is not assignable to declared return type `AnyStr`']",
131+
"Line 34: Unexpected errors ['`+` is not supported between `AnyStr` and `AnyStr`\\n Argument `AnyStr` is not assignable to parameter `value` with type `Buffer` in function `bytes.__add__`\\n Protocol `Buffer` requires attribute `__buffer__`', '`+` is not supported between `AnyStr` and `AnyStr`\\n No matching overload found for function `str.__add__` called with arguments: (AnyStr)\\n Possible overloads:\\n (value: LiteralString, /) -> LiteralString\\n (value: str, /) -> str [closest match]']",
132132
"Line 67: Unexpected errors ['assert_type(MyStr, str) failed']",
133133
"Line 68: Unexpected errors ['assert_type(MyStr, str) failed', 'Argument `str` is not assignable to parameter `y` with type `MyStr` in function `concat`']"
134134
],

0 commit comments

Comments
 (0)