1
0
Fork 0
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:
Mike Gerber 2025-08-06 20:16:16 +02:00
parent 4204e811f7
commit a9d650e345

View file

@ -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