def METHOD_NAME(self, bash, functions):
    """Test error messages through unintended pathname expansions
    When "shopt -s failglob" is set by the user, the completion of the word
    containing glob character and special characters (e.g. TAB) results in
    the failure of pathname expansions.
      $ shopt -s failglob
      $ echo a\\	b*[TAB]
    """
    with bash_env_saved(bash) as bash_env:
        bash_env.shopt("failglob", True)
        assert_bash_exec(
            bash, "_comp__test_quote_compgen $'a\\\\\\tb*' >/dev/null"
        )