summaryrefslogtreecommitdiffstats
path: root/pym/portage/tests/dep
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2011-06-09 07:23:28 -0700
committerZac Medico <zmedico@gentoo.org>2011-06-09 07:23:28 -0700
commit1faa9bddc2859c73ce8984b43eca816c30bdb5f1 (patch)
treec0cf0bd2f0f459e48997e6a8b68f4d933c21ed69 /pym/portage/tests/dep
parent786bb1096c704f03b6c677726ef0b9142a8d38a7 (diff)
downloadportage-1faa9bddc2859c73ce8984b43eca816c30bdb5f1.tar.gz
portage-1faa9bddc2859c73ce8984b43eca816c30bdb5f1.tar.bz2
portage-1faa9bddc2859c73ce8984b43eca816c30bdb5f1.zip
use_reduce: disallow empty parens
This will fix bug #370565.
Diffstat (limited to 'pym/portage/tests/dep')
-rw-r--r--pym/portage/tests/dep/test_use_reduce.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage/tests/dep/test_use_reduce.py b/pym/portage/tests/dep/test_use_reduce.py
index 7c7286ad8..b89752fb4 100644
--- a/pym/portage/tests/dep/test_use_reduce.py
+++ b/pym/portage/tests/dep/test_use_reduce.py
@@ -217,7 +217,7 @@ class UseReduce(TestCase):
uselist = ["foo", "bar"],
expected_result = [ "||", [ "A", "B" ] ]),
UseReduceTestCase(
- "A || ( ) foo? ( ) B",
+ "A || ( bar? ( C ) ) foo? ( bar? ( C ) ) B",
expected_result = ["A", "B"]),
UseReduceTestCase(
"|| ( A ) || ( B )",
@@ -350,7 +350,7 @@ class UseReduce(TestCase):
opconvert = True,
expected_result = [['||', 'A', 'B']]),
UseReduceTestCase(
- "A || ( ) foo? ( ) B",
+ "A || ( bar? ( C ) ) foo? ( bar? ( C ) ) B",
opconvert = True,
expected_result = ["A", "B"]),
UseReduceTestCase(
@@ -509,7 +509,7 @@ class UseReduce(TestCase):
flat = True,
expected_result = [ "||", "||", "A", "||", "B" ]),
UseReduceTestCase(
- "A || ( ) foo? ( ) B",
+ "A || ( bar? ( C ) ) foo? ( bar? ( C ) ) B",
flat = True,
expected_result = ["A", "||", "B"]),
UseReduceTestCase(