diff --git a/narwhals/_polars/utils.py b/narwhals/_polars/utils.py index 3de7a0237..d44535cc7 100644 --- a/narwhals/_polars/utils.py +++ b/narwhals/_polars/utils.py @@ -79,7 +79,7 @@ def native_to_narwhals_dtype(dtype: Any, dtypes: DTypes) -> DType: if dtype == pl.List: return dtypes.List(native_to_narwhals_dtype(dtype.inner, dtypes)) if dtype == pl.Array: - if parse_version(pl.__version__) < (1, 0): + if parse_version(pl.__version__) < (1, 0): # pragma: no cover return dtypes.Array( native_to_narwhals_dtype(dtype.inner, dtypes), dtype.width )