summaryrefslogtreecommitdiff
path: root/pbr/tests/test_setup.py
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2014-07-21 07:41:38 -0700
committerMonty Taylor <mordred@inaugust.com>2014-07-21 08:00:27 -0700
commitc2aab3b27f03887606b49711a7db9a21b72a60c1 (patch)
treeb5c97c8d2606a3e0f4decbeaa41fdb36a4af8845 /pbr/tests/test_setup.py
parent8d4c553a78a4970fde06b491b173bac85108491e (diff)
downloadpbr-c2aab3b27f03887606b49711a7db9a21b72a60c1.tar.gz
Stop filtering out argparse
Back in the day, attempting to install argparse on python 2.7 would result in failure, as the setup.py of argparse failed hard if it was attempted. That seems to be fixed, and when we do filter it out of the list now, we cause problems with python 2.6 and wheels (if we make a wheel on 2.6 and it depends on argparse, the pbr code means that argparse doesn't get added properly) Remove the filtering so that our wheels can be universal. Closes-bug: #1346357 Change-Id: I49d539ac6fb8ee75f8d32fdfbd20129b13d36499
Diffstat (limited to 'pbr/tests/test_setup.py')
-rw-r--r--pbr/tests/test_setup.py6
1 files changed, 0 insertions, 6 deletions
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: