environment/lib/python2.7/site-packages/nose/plugins/xunit.py
def _quoteattr(self, attr):
        """Escape an XML attribute. Value can be unicode."""
        attr = xml_safe(attr)
        if isinstance(attr, unicode) and not UNICODE_STRINGS:
            attr = attr.encode(self.encoding)
        return saxutils.quoteattr(attr)
def _quoteattr(self, attr):
        attr = xml_safe(attr)
        if isinstance(attr, unicode) and not UNICODE_STRINGS:
            attr = attr.encode(self.encoding)
        return saxutils.quoteattr(attr)
def _quoteattr ( self , attr ) : attr = xml_safe ( attr ) if isinstance ( attr , unicode ) and not UNICODE_STRINGS : attr = attr . encode ( self . encoding ) return saxutils . quoteattr ( attr )
Escape an XML attribute. Value can be unicode.
Escape an XML attribute . Value can be unicode .