

def _write(self, file, node, encoding, namespaces):
    'This method is for ElementTree <= 1.2.6'
    if (encoding.tag == '![CDATA['):
        text = node.text.encode(encoding)
        file.write(('\n<![CDATA[%s]]>\n' % text))
    else:
        ElementTree.ElementTree._write(self, file, node, encoding, namespaces)

dataset/ETHPy150Open behave/behave/behave/reporter/junit.py ElementTreeWithCDATA._write/VarMisuse@22/43 `node`->`encoding`