From 2a899cc1fea955f5ba342c25ca7f15313c161117 Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Wed, 24 Jan 2024 15:38:54 +0100 Subject: [PATCH] Update doc example --- py-polars/polars/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/py-polars/polars/config.py b/py-polars/polars/config.py index 268377316849..889e1cf011b8 100644 --- a/py-polars/polars/config.py +++ b/py-polars/polars/config.py @@ -1273,9 +1273,9 @@ def warn_unstable(cls, active: bool | None = True) -> type[Config]: Examples -------- >>> pl.Config.warn_unstable(True) # doctest: +SKIP - >>> pl.col("a").qcut(5) - polars.warnings.UnstableWarning: `qcut` is an unstable feature. - """ + >>> pl.col("a").qcut(5) # doctest: +SKIP + UnstableWarning: `qcut` is considered unstable. It may be changed at any point without it being considered a breaking change. + """ # noqa: W505 if active is None: os.environ.pop("POLARS_WARN_UNSTABLE", None) else: