mirror of https://github.com/pypa/pip
Remove --always-unzip based tests
This commit is contained in:
parent
0b5ad47cbf
commit
bd70025c98
|
@ -540,8 +540,6 @@ _freeze_req_opts = textwrap.dedent("""\
|
||||||
# Unchanged requirements below this line
|
# Unchanged requirements below this line
|
||||||
-r ignore.txt
|
-r ignore.txt
|
||||||
--requirement ignore.txt
|
--requirement ignore.txt
|
||||||
-Z ignore
|
|
||||||
--always-unzip ignore
|
|
||||||
-f http://ignore
|
-f http://ignore
|
||||||
-i http://ignore
|
-i http://ignore
|
||||||
--pre
|
--pre
|
||||||
|
|
|
@ -87,8 +87,7 @@ def test_uninstall_easy_install_after_import(script):
|
||||||
Uninstall an easy_installed package after it's been imported
|
Uninstall an easy_installed package after it's been imported
|
||||||
|
|
||||||
"""
|
"""
|
||||||
result = script.easy_install('--always-unzip', 'INITools==0.2',
|
result = script.easy_install('INITools==0.2', expect_stderr=True)
|
||||||
expect_stderr=True)
|
|
||||||
# the import forces the generation of __pycache__ if the version of python
|
# the import forces the generation of __pycache__ if the version of python
|
||||||
# supports it
|
# supports it
|
||||||
script.run('python', '-c', "import initools")
|
script.run('python', '-c', "import initools")
|
||||||
|
|
|
@ -378,10 +378,6 @@ class TestProcessLine(object):
|
||||||
)
|
)
|
||||||
assert expected in actual
|
assert expected in actual
|
||||||
|
|
||||||
def test_noop_always_unzip(self, line_processor, finder):
|
|
||||||
# noop, but confirm it can be set
|
|
||||||
line_processor("--always-unzip", "file", 1, finder=finder)
|
|
||||||
|
|
||||||
def test_set_finder_allow_all_prereleases(self, line_processor, finder):
|
def test_set_finder_allow_all_prereleases(self, line_processor, finder):
|
||||||
line_processor("--pre", "file", 1, finder=finder)
|
line_processor("--pre", "file", 1, finder=finder)
|
||||||
assert finder.allow_all_prereleases
|
assert finder.allow_all_prereleases
|
||||||
|
|
Loading…
Reference in New Issue