<#22668 Optionally treat pytest's exit code 5 (""N...
# github-notifications
q
#22668 Optionally treat pytest's exit code 5 (""No tests were collected") as success Issue created by benjyw Currently we treat this as a failure. But it may be a legitimate use-case. In fact this came up in this repo, where we had a
call_by_type
mark on all tests in src/python/pants/engine/internals/selectors_test.py, and when excluding them the pytest run on that file would fail. We worked around this by adding a dummy test without the mark, but that is not a hack I would want users to have to use. pantsbuild/pants