'Extract ascii character data using L{str}.'

def test_characterDataNativeString(self):

    element = domish.Element((u'testns', u'foo'))
    element.addContent(u'somecontent')
    text = str(element)
    self.assertEqual('somecontent', text)
    self.assertIsInstance(text, str)
