diff options
-rw-r--r-- | pbr/packaging.py | 2 | ||||
-rw-r--r-- | pbr/tests/test_setup.py | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/pbr/packaging.py b/pbr/packaging.py index dc256a0..f88f54f 100644 --- a/pbr/packaging.py +++ b/pbr/packaging.py @@ -51,7 +51,7 @@ REQUIREMENTS_FILES = ('requirements.txt', 'tools/pip-requires') TEST_REQUIREMENTS_FILES = ('test-requirements.txt', 'tools/test-requires') # part of the standard library starting with 2.7 # adding it to the requirements list screws distro installs -BROKEN_ON_27 = ('argparse', 'importlib', 'ordereddict') +BROKEN_ON_27 = ('importlib', 'ordereddict') def get_requirements_files(): diff --git a/pbr/tests/test_setup.py b/pbr/tests/test_setup.py index 0ded02b..1a35b34 100644 --- a/pbr/tests/test_setup.py +++ b/pbr/tests/test_setup.py @@ -304,12 +304,6 @@ class ParseRequirementsTest(base.BaseTestCase): fh.write("-f foobar") self.assertEqual([], packaging.parse_requirements([self.tmp_file])) - def test_parse_requirements_removes_argparse(self): - with open(self.tmp_file, 'w') as fh: - fh.write("argparse") - if sys.version_info >= (2, 7): - self.assertEqual([], packaging.parse_requirements([self.tmp_file])) - def test_parse_requirements_removes_versioned_ordereddict(self): self.useFixture(fixtures.MonkeyPatch('sys.version_info', (2, 7))) with open(self.tmp_file, 'w') as fh: |