def test(i): c = LazyLoadsBar() c.bar(True)
def test(i): c = LazyLoadsBar() with self.assertRaisesRegexp(Exception, r"kablooey!"): c.bar()
def test(i): c = LazyLoadsBar() assert c.bar() == 'foo'
def test(i): c = LazyLoadsBar() c.bar(True)
def test(i): c = LazyLoadsBar() with self.assertRaisesRegexp(Exception, r"kablooey!"): c.bar()
def test(i): c = LazyLoadsBar() assert c.bar() == 'foo'