Test use_reduce opconvert breakage.
authorZac Medico <zmedico@gentoo.org>
Fri, 15 Oct 2010 08:49:46 +0000 (01:49 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 15 Oct 2010 08:49:46 +0000 (01:49 -0700)
pym/portage/tests/dep/test_use_reduce.py

index 83735e1fd36ae3ae93f7963716597e8abef79289..b9a2b3dd353c8d1a088e87dde13d0b06aaabdc8a 100644 (file)
@@ -304,6 +304,19 @@ class UseReduce(TestCase):
                                "( || ( || ( ( A ) B ) ) )",
                                opconvert = True,
                                expected_result = ["||", "A", "B"]),
+
+                       # ['||', 'A', 'B', 'C'] != [['||', 'A', 'B'], 'C']
+                       #UseReduceTestCase(
+                       #       "|| ( A B ) C",
+                       #       opconvert = True,
+                       #       expected_result = [['||', 'A', 'B'], 'C']),
+
+                       # ['A', '||', ['B', 'C']] != ['A', ['||', 'B', 'C']]
+                       #UseReduceTestCase(
+                       #       "A || ( B C )",
+                       #       opconvert = True,
+                       #       expected_result = ['A', ['||', 'B', 'C']]),
+
                        UseReduceTestCase(
                                "|| ( A )",
                                opconvert = True,