Typos and docstrings

This commit is contained in:
Erik Rose 2015-10-19 23:13:48 -04:00
parent 925e4b4466
commit 622b430491
3 changed files with 5 additions and 2 deletions

View File

@ -338,7 +338,7 @@ class PipSession(requests.Session):
# We want to _only_ cache responses on securely fetched origins. We do
# this because we can't validate the response of an insecurely fetched
# origin, and we don't want someone to be able to poison the cache and
# require manual evication from the cache to fix it.
# require manual eviction from the cache to fix it.
if cache:
secure_adapter = CacheControlAdapter(
cache=SafeFileCache(cache, use_dir_lock=True),

View File

@ -720,7 +720,7 @@ class WheelBuilder(object):
def build(self, autobuilding=False):
"""Build wheels.
:param unpack: If True, replace the sdist we built from the with the
:param unpack: If True, replace the sdist we built from with the
newly built wheel, in preparation for installation.
:return: True if all the wheels built correctly.
"""

View File

@ -1,3 +1,6 @@
"""Tests for the ``pip hash`` command"""
def test_basic(script, tmpdir):
"""Run 'pip hash' through its default behavior."""
expected = ('--hash=sha256:2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425'