diff --git a/src/mods4pandas/tests/test_alto.py b/src/mods4pandas/tests/test_alto.py index 849e076..a215f89 100644 --- a/src/mods4pandas/tests/test_alto.py +++ b/src/mods4pandas/tests/test_alto.py @@ -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