Skip to content

Skip tests for unavailable backends #2872

@frenzymadness

Description

@frenzymadness

I'd like to package narwhals for Fedora Linux and I'd like to run testsuite during the build of the RPM package. Unfortunately, the testsuite expects all supported backends to be installed but in Fedora, only pandas and pyarrow are available.

Would it make sense to add a piece of logic that skips all tests using backends that cannot be imported? I saw some constructors in the conftest module, but I'm not sure whether this is the right place.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions