Skip to content

test: allow for tests to be run without Polars / PyArrow/ pandas installed #1726

@MarcoGorelli

Description

@MarcoGorelli

It would be nice to be able to do say pytest --constructors=pandas and not need Polars installed

To do this, we should replace import polars with polars = pytest.importorskip('polars') only in the places where it's truly necessary to import Polars

Metadata

Metadata

Assignees

No one assigned

    Labels

    high priorityYour PR will be reviewed very quickly if you address thisinternaltests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions