Skip to content

Stop skipping tests #198

Open
Open
@flying-sheep

Description

@flying-sheep

Please remove that:

if config.getoption("--doctest-modules"):
path_str = str(collection_path)
if "tests" in path_str or "test_" in path_str:
return True

I run pytest --doctest-modules --pyargs mypackage ./tests in every single project I maintain to run both unit- and doctests together. Why shouldn’t I?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew features w.r.t. the original refguide-check

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions