Skip to content
Snippets Groups Projects
Commit f4214c2f authored by Antoine Lambert's avatar Antoine Lambert
Browse files

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 30bef11d
No related branches found
No related tags found
No related merge requests found
[pytest]
norecursedirs = docs .*
norecursedirs = build docs .*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment