code: def assertFileEncodingNotEqual(self, filename, encoding, msg=None):
          '''Fail if ``filename`` is encoded with the given ``encoding``
          as determined by the '!=' operator.
  
          Parameters
          ----------
          filename : str, bytes, file-like
          encoding : str, bytes
          msg : str
              If not provided, the :mod:`marbles.mixins` or
              :mod:`unittest` standard message will be used.
  
          Raises
          ------
          TypeError
              If ``filename`` is not a str or bytes object and is not
              file-like.
          '''
          fencoding = self._get_file_encoding(filename)
  
          fname = self._get_file_name(filename)
          standardMsg = '%s is %s encoded' % (fname, encoding)
  
          self.assertNotEqual(fencoding.lower(),
                              encoding.lower(),
                              self._formatMessage(msg, standardMsg)f assertFileEncodingNotEqual(self, filename, encoding, msg=None):
          '''Fail if ``filename`` is encoded with the given ``encoding``
          as determined by the '!=' operator.
  
          Parameters
          ----------
          filename : str, bytes, file-like
          encoding : str, bytes
          msg : str
              If not provided, the :mod:`marbles.mixins` or
              :mod:`unittest` standard message will be used.
  
          Raises
          ------
          TypeError
              If ``filename`` is not a str or bytes object and is not
              file-like.
          '''
          fencoding = self._get_file_encoding(filename)
  
          fname = self._get_file_name(filename)
          standardMsg = '%s is %s encoded' % (fname, encoding)
  
          self.assertNotEqual(fencoding.lower(),
                              encoding.lower(),
                              self._formatMessage(msg, standardMsg))
docs: Fail if ``filename`` is encoded with the given ``encoding``
          as determined by the '!=' operator.
  
          Parameters
          ----------
          filename : str, bytes, file-like
          encoding : str, bytes
          msg : str
              If not provided, the :mod:`marbles.mixins` or
              :mod:`unittest` standard message will be used.
  
          Raises
          ------
          TypeError
              If ``filename`` is not a str or bytes object and is not
              file-like.