Skip to content
Snippets Groups Projects
  1. May 09, 2022
  2. Mar 22, 2022
    • Antoine Lambert's avatar
      pytest: Exclude build directory for tests discovery · 92c78ab5
      Antoine Lambert authored
      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.
      92c78ab5
  3. Aug 25, 2020
    • vlorentz's avatar
      Tell pytest not to recurse in dotdirs. · e8b1b216
      vlorentz authored
      pytest wastes a lot of time in .hypothesis and .git; this commit
      excludes them.
      
      Before:
      
      $ time pytest --collect-only > /dev/null
      pytest --collect-only > /dev/null  6.93s user 0.51s system 100% cpu 7.425 total
      
      After:
      
      $ time pytest --collect-only > /dev/null
      pytest --collect-only > /dev/null  2.39s user 0.10s system 100% cpu 2.475 total
      e8b1b216
  4. Jan 31, 2020
  5. Jul 08, 2019
  6. Oct 23, 2018
Loading