Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixing notebook test errors when no tests collected (quantumlib#4196)
Fix broken notebook tests in master. It seems that when `pattern` does not match any tests in `pytest -k pattern`, pytest returns an exit code 5. This breaks the newly sharded notebook tests, which are leveraging the `-k partition-n` pattern for changed notebooks. This fix adds the fix as per the recommendations of pytest-dev/pytest#2393.
- Loading branch information