              # Don't output any value
              pass
  
          else:
              xml.characters(smart_unicode(data))
  
      def dict2xml(self, data):
          stream = StringIO.StringIO()
  
          xml = SimplerXMLGenerator(stream, "utf-8")
 
</s> remove                     raise TypeError(u"You tried to pass in the %s method name as a "
                                    u"keyword argument to %s(). Don't do that."
 </s> add                     raise TypeError("You tried to pass in the %s method name as a "
                                    "keyword argument to %s(). Don't do that." </s> remove     _MAX_CSRF_KEY = 18446744073709551616L     # 2 << 63
 </s> add     _MAX_CSRF_KEY = 18446744073709551616      # 2 << 63 </s> remove                     raise TypeError(u"%s() received an invalid keyword %r" % (
 </s> add                     raise TypeError("%s() received an invalid keyword %r" % ( </s> remove                     if value == smart_unicode(k2):
 </s> add                     if value == smart_text(k2): </s> remove                 warnings.warn(u"DateTimeField received a naive datetime (%s)"
                              u" while time zone support is active." % value,
 </s> add                 warnings.warn("DateTimeField received a naive datetime (%s)"
                              " while time zone support is active." % value,
            xml.characters(smart_text(data))
              # Don't output any value
              pass
  
          else:
            xml.characters(smart_text(data))
  
      def dict2xml(self, data):
          stream = StringIO.StringIO()
  
          xml = SimplerXMLGenerator(stream, "utf-8")
keep keep keep keep replace keep keep keep keep keep
 First passing test under p3k \o/ 
rest_framework/utils/__init__.py