mirror of
https://github.com/aclist/dztui.git
synced 2026-11-12 21:10:37 +01:00
chore: clear typehinting errors
This commit is contained in:
1 parent
307792ba5b
commit
f486cc506f
10 files changed
+24
-31
No files matched your search
@@ -18,9 +18,10 @@ def test_row_conversion() -> None:
|
||||
"Unofficial",
|
||||
False,
|
||||
]
|
||||
rows = [ServerRow(*data)]
|
||||
rows = [ServerRow(*data)] # type: ignore
|
||||
marshalled = ServerRow.marshal_rows(rows)
|
||||
store = ModelFactory().make_server_store()
|
||||
store.extend(marshalled)
|
||||
converted = [[el for el in row] for row in store]
|
||||
cols = store.get_n_columns()
|
||||
converted = [[row[i] for i in range(cols)] for row in store]
|
||||
assert data == converted[0]
|
||||
Reference in new issue
Block a user