Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tests): ensure only mocked system site is used
Previously, on systems where there existed multiple system-site locations the `test_system_site_packages` test case failed due to it incorrectly assuming only one site needed removal when patching the environment's `sys_path`. This change ensures all paths outside the `tmp_path` is ignored.
- Loading branch information