def assertFileTypeNotEqual(self, filename, extension, msg=None):
        '''Fail if ``filename`` has the given ``extension`` as
        determined by the ``!=`` operator.

        Parameters
        ----------
        filename : str, bytes, file-like
        extension : 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.
        '''
        ftype = self._get_file_type(filename)
        self.assertNotEqual(ftype, extension, msg=msg)
Fail if ``filename`` has the given ``extension`` as
        determined by the ``!=`` operator.

        Parameters
        ----------
        filename : str, bytes, file-like
        extension : 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.