From bd70025c989440e6d99c60521abafb74fc0e6387 Mon Sep 17 00:00:00 2001 From: Devesh Kumar Singh Date: Wed, 24 Jun 2020 21:36:15 +0530 Subject: [PATCH] Remove --always-unzip based tests --- tests/functional/test_freeze.py | 2 -- tests/functional/test_uninstall.py | 3 +-- tests/unit/test_req_file.py | 4 ---- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/tests/functional/test_freeze.py b/tests/functional/test_freeze.py index 2199bb482..3792beeca 100644 --- a/tests/functional/test_freeze.py +++ b/tests/functional/test_freeze.py @@ -540,8 +540,6 @@ _freeze_req_opts = textwrap.dedent("""\ # Unchanged requirements below this line -r ignore.txt --requirement ignore.txt - -Z ignore - --always-unzip ignore -f http://ignore -i http://ignore --pre diff --git a/tests/functional/test_uninstall.py b/tests/functional/test_uninstall.py index 4c018a68e..1f2fe6912 100644 --- a/tests/functional/test_uninstall.py +++ b/tests/functional/test_uninstall.py @@ -87,8 +87,7 @@ def test_uninstall_easy_install_after_import(script): Uninstall an easy_installed package after it's been imported """ - result = script.easy_install('--always-unzip', 'INITools==0.2', - expect_stderr=True) + result = script.easy_install('INITools==0.2', expect_stderr=True) # the import forces the generation of __pycache__ if the version of python # supports it script.run('python', '-c', "import initools") diff --git a/tests/unit/test_req_file.py b/tests/unit/test_req_file.py index 10df385df..b22ce2013 100644 --- a/tests/unit/test_req_file.py +++ b/tests/unit/test_req_file.py @@ -378,10 +378,6 @@ class TestProcessLine(object): ) 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): line_processor("--pre", "file", 1, finder=finder) assert finder.allow_all_prereleases