Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
e2a93b70
Commit
e2a93b70
authored
Nov 30, 2013
by
Nick Coghlan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix and test pip version consistency
parent
8dba489b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
Lib/ensurepip/__init__.py
Lib/ensurepip/__init__.py
+1
-1
Lib/ensurepip/_bundled/pip-1.5rc1-py2.py3-none-any.whl
Lib/ensurepip/_bundled/pip-1.5rc1-py2.py3-none-any.whl
+0
-0
Lib/test/test_venv.py
Lib/test/test_venv.py
+3
-1
No files found.
Lib/ensurepip/__init__.py
View file @
e2a93b70
...
...
@@ -12,7 +12,7 @@ __all__ = ["version", "bootstrap"]
_SETUPTOOLS_VERSION
=
"1.3.2"
_PIP_VERSION
=
"1.5
.
rc1"
_PIP_VERSION
=
"1.5rc1"
_PROJECTS
=
[
(
"setuptools"
,
_SETUPTOOLS_VERSION
),
...
...
Lib/ensurepip/_bundled/pip-1.5
.
rc1-py2.py3-none-any.whl
→
Lib/ensurepip/_bundled/pip-1.5rc1-py2.py3-none-any.whl
View file @
e2a93b70
This diff was suppressed by a .gitattributes entry.
Lib/test/test_venv.py
View file @
e2a93b70
...
...
@@ -5,6 +5,7 @@ Copyright (C) 2011-2012 Vinay Sajip.
Licensed to the PSF under a contributor agreement.
"""
import
ensurepip
import
os
import
os.path
import
shutil
...
...
@@ -313,8 +314,9 @@ class EnsurePipTest(BaseTest):
err
=
err
.
decode
(
"latin-1"
)
# Force to text, prevent decoding errors
self
.
assertEqual
(
err
,
""
)
out
=
out
.
decode
(
"latin-1"
)
# Force to text, prevent decoding errors
expected_version
=
"pip {}"
.
format
(
ensurepip
.
version
())
self
.
assertEqual
(
out
[:
len
(
expected_version
)],
expected_version
)
env_dir
=
os
.
fsencode
(
self
.
env_dir
).
decode
(
"latin-1"
)
self
.
assertTrue
(
out
.
startswith
(
"pip"
))
self
.
assertIn
(
env_dir
,
out
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment