def fake_tree(block): return FakeTree(block)
def preprocessor(patch): patch.init(FakeTree) patch.object(Lowering, 'fake_tree', return_value=FakeTree(None)) return Lowering(parser=None, features=None)
def fake_tree(block): return FakeTree(block)
def preprocessor(patch): patch.init(FakeTree) patch.object(Lowering, 'fake_tree', return_value=FakeTree(None)) return Lowering(parser=None, features=None)