'Non-ASCII byte strings passed to C{addContent} yield L{UnicodeError}.'

def test_addContentBytesNonASCII(self):

    element = domish.Element((u'testns', u'foo'))
    self.assertRaises(UnicodeError, element.addContent, '\xe2\x98\x83')
