pytest: Exclude build directory for tests discovery
Due to test modules being copied in subdirectories of the build directory by setuptools, it makes pytest fail by raising ImportPathMismatchError exceptions when invoked from root directory of the module. So ignore the build folder to discover tests.
parent
bc3831fd
No related branches found
No related tags found
Loading
Please register or sign in to comment