Skip to content

pytest's own tests require hypothesis / make it optional? #4410

@blueyed

Description

@blueyed

Currently pytest's own tests with pip install -e '.[testing]' will fail with:

ModuleNotFoundError: No module named 'hypothesis'

(testing/python/metafunc.py)

So either testing/python/metafunc.py should be skipped without hypothesis, or we should add it to the "testing" extras.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementnew feature or API change, should be merged into features branchtype: infrastructureimprovement to development/releases/CI structure

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions