mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2025-01-10 14:14:27 +00:00
codespell istg
This commit is contained in:
parent
b601027ef6
commit
54409c7b28
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ def test_dynamictable_mixin_colnames_ordered():
|
||||||
assert all([key1 == key2 for key1, key2 in zip(order, inst._columns)])
|
assert all([key1 == key2 for key1, key2 in zip(order, inst._columns)])
|
||||||
assert all(inst[0].columns == order)
|
assert all(inst[0].columns == order)
|
||||||
|
|
||||||
# partial lists should append unnamed columsn at the end
|
# partial lists should append unnamed columns at the end
|
||||||
partial_order = ["new_col_3", "new_col_2"]
|
partial_order = ["new_col_3", "new_col_2"]
|
||||||
inst = MyDT(**cols, colnames=partial_order)
|
inst = MyDT(**cols, colnames=partial_order)
|
||||||
assert inst.colnames == [*partial_order, "existing_col", "new_col_1"]
|
assert inst.colnames == [*partial_order, "existing_col", "new_col_1"]
|
||||||
|
|
Loading…
Reference in a new issue