code: def createCDATAOrText(self, data):
      if "]]>" in data:
          return self.createTextNode(data)
      return self.createCDATASection(data)
  
imports: from __future__ import absolute_import
  import os
  import sys
  import time
  from unittest import TestResult, TextTestResult, TextTestRunner
  import xml.dom.minidom
label_desc: Use image node_id 1 for calling the XMLDocument obj's underlying member method code with example usage: obj.createCDATAOrText(data) and returns: self, self