Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

correct site-packages for pypy in 2nd location

  • Loading branch information...
commit b7cca4e5052fcd0afb5a1b3abf9cb3618172e3d2 1 parent aa20274
@qwcode authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 tests/test_pip.py
View
5 tests/test_pip.py
@@ -322,7 +322,10 @@ def __init__(self, environ=None, use_distribute=None, sitecustomize=None):
assert self.venv == TestPipEnvironment.venv # sanity check
- self.site_packages = self.lib/'site-packages'
+ if hasattr(sys, "pypy_version_info"):
+ self.site_packages = self.venv/'site-packages'
+ else:
+ self.site_packages = self.lib/'site-packages'
self.user_base_path = self.venv_path/'user'
self.user_site_path = self.venv_path/'user'/site_packages_suffix
Please sign in to comment.
Something went wrong with that request. Please try again.