import pytest12import polars as pl3from polars.dependencies import _lazy_import4from polars.testing import assert_frame_equal56# don't import polars_ds until an actual test is triggered (the decorator already7# ensures the tests aren't run locally; this avoids premature local import)8pds, _ = _lazy_import("polars_ds")910pytestmark = pytest.mark.ci_only111213def test_basic_operation() -> None:14# We are mostly interested in making sure that we can actually still call the plugin15# properly.16df = pl.DataFrame({"name": ["a", "b", "c"]})17assert_frame_equal(18df.select(pds.str_leven("name", pl.lit("che"))),19pl.Series("name", [3, 3, 2], pl.UInt32).to_frame(),20)212223