From 8efb260a19530bee4e83971e1f830a8de981c707 Mon Sep 17 00:00:00 2001 From: Alexander Ivanov Date: Wed, 21 Aug 2024 03:09:24 +0300 Subject: [PATCH] misc: ignore coverage --- narwhals/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/narwhals/utils.py b/narwhals/utils.py index 929f77d984..98c744d795 100644 --- a/narwhals/utils.py +++ b/narwhals/utils.py @@ -314,7 +314,7 @@ def maybe_convert_dtypes(df: T, *args: bool, **kwargs: bool | str) -> T: if isinstance(df_any, PandasLikeSeries): native_ser = df_any._native_series - ser = ( + ser = ( # pragma: no cover native_ser.convert_dtypes(*args, **kwargs) if getattr(native_ser, "convert_dtypes", None) else native_ser.apply(lambda x: x)