def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def test_ccode_Piecewise_deep():
    p = ccode(2*Piecewise((x, x < 1), (x**2, True)))
    s = \