Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relax test_list_installed_deps() to allow other packages (#2796)
Relax the check in `test_list_installed_deps()` to allow `pip freeze` to return other packages before `pip`. This is necessary if the Python interpreter vendors some packages itself, so that they are available even in fresh venv. This is the case e.g. for cffi in PyPy.
- Loading branch information
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Relax the assertion in ``test_list_installed_deps`` to allow packages | ||
other than ``pip`` to be present in the fresh venv, to fix tests | ||
on PyPy. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters