File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -18,4 +18,4 @@ pyzmq==25.1.2
18
18
xlrd>=2.0.1
19
19
pytest-rerunfailures
20
20
jupyterlab<4.0.0
21
- pyright==1.1.376 ;python_version>="3.7"
21
+ pyright==1.1.398 ;python_version>="3.7"
Original file line number Diff line number Diff line change @@ -223,15 +223,17 @@ def assert_pyright_output(
223
223
"obj={}" ,
224
224
{
225
225
"expected_status" : 1 ,
226
- "expected_outputs" : ['"dict[Any, Any]" is incompatible with "Obj"' ],
226
+ "expected_outputs" : [
227
+ '"dict[Any, Any]" cannot be assigned to parameter "obj" of type "Obj | None"'
228
+ ],
227
229
},
228
230
),
229
231
(
230
232
"obj={'value': 'a', 'label': 1}" ,
231
233
{
232
234
"expected_status" : 1 ,
233
235
"expected_outputs" : [
234
- '"dict[str, str | int]" is incompatible with " Obj"'
236
+ '"dict[str, str | int]" cannot be assigned to parameter "obj" of type " Obj | None "'
235
237
],
236
238
},
237
239
),
You can’t perform that action at this time.
0 commit comments