testpaths
is ignored when specifying the config file with -c
#9723
Labels
topic: config
related to config handling, argument parsing and config file
Minimal example
Steps to reproduce
Run pytest commands from the
<dir>
Expected behavior
1 collected item while executing the second command +
testpaths
info in the output headers (sincedir1
is the rootdir). Something like this:P.S: I experience the same behaviour with 7.0.1 from pypi. 6.2.5 gives me an error
ERROR: file or directory not found: tests2
P.P.S. Maybe related to #9703
The text was updated successfully, but these errors were encountered: