code: def assertFileNameNotRegex(self, filename, expected_regex, msg=None):
          '''Fail if ``filename`` matches ``expected_regex``.
  
          Parameters
          ----------
          filename : str, bytes, file-like
          expected_regex : 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.
          '''
          fname = self._get_file_name(filename)
          self.assertNotRegex(fname, expected_regex, msg=msgf assertFileNameNotRegex(self, filename, expected_regex, msg=None):
          '''Fail if ``filename`` matches ``expected_regex``.
  
          Parameters
          ----------
          filename : str, bytes, file-like
          expected_regex : 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.
          '''
          fname = self._get_file_name(filename)
          self.assertNotRegex(fname, expected_regex, msg=msg)
docs: Fail if ``filename`` matches ``expected_regex``.
  
          Parameters
          ----------
          filename : str, bytes, file-like
          expected_regex : 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.