Skip to content

Commit

Permalink
Fix Pytest no longer including setuptools
Browse files Browse the repository at this point in the history
This broke coverage.
  • Loading branch information
Eric-Arellano committed Nov 20, 2019
1 parent 69aa4f8 commit cfceeff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pants.ini
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,12 @@ interpreter_cache_dir: %(pants_bootstrapdir)s/python_cache/interpreters
resolver_cache_dir: %(pants_bootstrapdir)s/python_cache/requirements


[pytest]
# TODO(#8651): We need this until we switch to implicit namespace packages so that pytest-cov
# understands our __init__ files. NB: this version matches 3rdparty/python/requirements.txt.
pytest_plugins: +["setuptools==40.6.3"]


[test.pytest]
fast: false
chroot: true
Expand Down

0 comments on commit cfceeff

Please sign in to comment.