#NEWLINE# def test_booleanOperatorsParens( self ) : #NEWLINE# #INDENT# '\n        Test multiple boolean operators in condition with parens.\n        ' #NEWLINE# xp = XPathQuery ( "//bar[@attrib4='value4' and\n                                 (@attrib5='value4' or @attrib5='value6')]" ) #NEWLINE# self . assertEquals ( xp . matches ( self . e ) , True ) #NEWLINE# self . assertEquals ( xp . queryForNodes ( self . e ) , [ self . bar6 , self . bar7 ] )