def testMethod(self):
    try:
        buildParseTree(vb, dialect='vb.net')
    except VBParserError:
        raise Exception(('Unable to parse ...\n%s' % vb))
def testMethod(self):
    try:
        buildParseTree(vb, dialect='vb.net')
    except VBParserError:
        raise Exception(('Unable to parse ...\n%s' % vb))