use_reduce: Add non-working test for bug 340973.
authorZac Medico <zmedico@gentoo.org>
Fri, 15 Oct 2010 11:37:50 +0000 (04:37 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 15 Oct 2010 12:07:14 +0000 (05:07 -0700)
pym/portage/tests/dep/test_use_reduce.py

index 026f194e26dae69b8d962d1db68cf10ef4d19df2..44f9fd710795a2a7aba91fa8e5405f67acf716c7 100644 (file)
@@ -317,6 +317,12 @@ class UseReduce(TestCase):
                                "A || ( B C )",
                                opconvert = True,
                                expected_result = ['A', ['||', 'B', 'C']]),
+                       # ['A', ['||', 'B', '||', 'C', 'D', 'E'], 'G'] != ['A', ['||', 'B', 'C', 'D', 'E'], 'G']
+                       #UseReduceTestCase(
+                       #       "A foo? ( || ( B || ( bar? ( || ( C D E ) ) !bar? ( F ) ) ) ) G",
+                       #       uselist = ["foo", "bar"],
+                       #       opconvert = True,
+                       #       expected_result = ['A', ['||', 'B', 'C', 'D', 'E'], 'G']),
 
                        UseReduceTestCase(
                                "|| ( A )",