  ERROR = 40
  CRITICAL = 50
  
  
  @python_2_unicode_compatible
  class CheckMessage(object):
  
      def __init__(self, level, msg, hint=None, obj=None, id=None):
          assert isinstance(level, int), "The first argument should be level."
          self.level = level
 
</s> remove @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add  </s> remove         @python_2_unicode_compatible
 </s> add 
  ERROR = 40
  CRITICAL = 50
  
  

  class CheckMessage(object):
  
      def __init__(self, level, msg, hint=None, obj=None, id=None):
          assert isinstance(level, int), "The first argument should be level."
          self.level = level
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
django/core/checks/messages.py