Closed ev-br closed 5 months ago
ATM:
$ pytest doc/source/tutorial --doctest-modules
picks up examples/
, with or without --doctest-glob
$ pytest doc/source/tutorial --doctest-glob=*rst
works fine.Looks like it's the same for built-in --doctest-modules
, so nothing for us to do here but follow.
I'd expect
pytest doc/source/tutorial/ --doctest-modules
to just work, but apparently it needs an explicit--doctest-glob=*rst
?