scipy / scipy_doctest

Floating-point aware doctesting
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

make collection strategy={None, "api"} selectable when run via pytest #114

Closed ev-br closed 6 months ago

ev-br commented 6 months ago

The doctest layer allows the choice of strategy={None, "api"}. The pytest layer hardcodes "api". Would be nice to make it selectable in the plugin, too.

ev-br commented 6 months ago

This is needed for dev.py -t _impl/file: otherwise all is deselected.

Sadly, this is only testable in a package, as pytest -t path/to/file just works in seld-tests. That make sense: self-tests run on scpdt itself, and it does not have the public/private split.