Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pola-rs
GitHub Repository: pola-rs/polars
Path: blob/main/py-polars/tests/unit/dataframe/test_repr.py
6939 views
1
from __future__ import annotations
2
3
from typing import TYPE_CHECKING
4
5
from hypothesis import given
6
7
from polars.testing.parametric import dataframes
8
9
if TYPE_CHECKING:
10
import polars as pl
11
12
13
@given(df=dataframes())
14
def test_repr(df: pl.DataFrame) -> None:
15
assert isinstance(repr(df), str)
16
17