Skip to content

can't pull conftest fixtures from doctests #1495

@graingert

Description

@graingert

If I create a fixture in tests/conftest.py I can't access it in a doctest in package_name/module.py with getfixture

See also https://stackoverflow.com/questions/25653147/pytest-doctest-with-fixtures-in-conftest-py

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueeasy issue that is friendly to new contributorplugin: doctestsrelated to the doctests builtin plugintype: docsdocumentation improvement, missing or needing clarification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions