-
-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash on Python 2 when reusing environments (#450)
* Remove redundant mock in test for environment reuse This breaks tests comparing a string from pyvenv.cfg to command output, because the latter will be a mock. There is no inherent need for this mock. It was added recently, and probably speculatively or for performance reasons. * Add test case for reusing Python 2 environments * Read base prefix from pyvenv.cfg if present * Remove trailing newline when querying interpreter base prefix
- Loading branch information
Showing
2 changed files
with
36 additions
and
4 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
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