Skip to content

highest conftest.py in my directory tree is not being loaded  #11261

Description

@blockjon-dd

I created a fixture located in my test/ directory in conftest.py.

I also have another conftest.py file located under test/unit with more fixtures specific to unit tests.

I am observing that after I upgrade from pytest 7.3.1 to 7.4.0, the "higher" of the two conftest.py files I have is never loaded.

Downgrading back to pytest 7.3.1 restores the expected functionality.

<snip>
...
pytest-cov==4.1.0
pytest-freezer==0.4.8
pytest-mock==3.11.1
pytest-xdist==3.3.1
pytest==7.3.1
...
</snip>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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