From d40f6962d43ffbd3ef99fdc8f1c0e54aca83b889 Mon Sep 17 00:00:00 2001 From: Kyle Barron Date: Tue, 23 Jul 2024 13:52:00 -0400 Subject: [PATCH] longer strings in test --- py-polars/tests/unit/interop/test_interop.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/py-polars/tests/unit/interop/test_interop.py b/py-polars/tests/unit/interop/test_interop.py index daad87df371d..1730a5c6f8bb 100644 --- a/py-polars/tests/unit/interop/test_interop.py +++ b/py-polars/tests/unit/interop/test_interop.py @@ -753,7 +753,13 @@ def test_compat_level(monkeypatch: pytest.MonkeyPatch) -> None: def test_df_pycapsule_interface() -> None: - df = pl.DataFrame({"a": [1, 2, 3], "b": ["a", "b", "c"]}) + df = pl.DataFrame( + { + "a": [1, 2, 3], + "b": ["a", "b", "c"], + "c": ["fooooooooooooooooooooo", "bar", "looooooooooooooooong string"], + } + ) out = pa.table(PyCapsuleStreamHolder(df)) assert df.shape == out.shape assert df.schema.names() == out.schema.names