mirror of
https://github.com/qurator-spk/modstool.git
synced 2025-08-07 00:29:55 +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})"
|
||||
|
||||
if edt == "object":
|
||||
assert einner_types is not None
|
||||
inner_types = set(type(v).__name__ for v in df[c])
|
||||
assert all(
|
||||
it in einner_types for it in inner_types
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue