def testBadStrings(self):
        for s in ('foo', 'bar', 'xxx', 'yyy', ''):
            try:
                str2bool(s)
                assert False, 'Expected "%s" to produce an exception' % s
            except ValueError:
                pass
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/grizzled/grizzled/test/text/TestStr2Bool.py/TestStr2Bool.testBadStrings/original