Skip to content

Poor interaction between -n# and -c X.cfg #6

@soltanmm

Description

@soltanmm

Specifying e.g. -n8 appears to cause py.test options in config files e.g.

[pytest]
python_files = *_test.py

to be ignored when they're specified by invocations of the form py.test -c /something/elsewhere/setup.cfg -n8. This doesn't appear to be a problem when invoking py.test directly in a setup.py shim s.t. the setup.cfg is automagically found by py.test.

I've only stared at this for a little while, however, and may have missed a few things. Pointers?

cc @nathanielmanistaatgoogle

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions