mirror of
https://github.com/qurator-spk/modstool.git
synced 2025-08-09 17:49:52 +02:00
✔ ALTO: Make sure we have inner types when testing SQLite conversion for 'object'
This commit is contained in:
parent
4204e811f7
commit
a9d650e345
1 changed files with 1 additions and 0 deletions
|
@ -135,6 +135,7 @@ def test_dtypes(tmp_path):
|
||||||
assert dt == edt, f"Unexpected dtype {dt} for column {c} (expected {edt})"
|
assert dt == edt, f"Unexpected dtype {dt} for column {c} (expected {edt})"
|
||||||
|
|
||||||
if edt == "object":
|
if edt == "object":
|
||||||
|
assert einner_types is not None
|
||||||
inner_types = set(type(v).__name__ for v in df[c])
|
inner_types = set(type(v).__name__ for v in df[c])
|
||||||
assert all(
|
assert all(
|
||||||
it in einner_types for it in inner_types
|
it in einner_types for it in inner_types
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue