def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def test_cannot_write_none_identifier(self):
        with self.assertRaises(TypeError):
            _ = cypher_escape(None)