code: def test_validate_all_ignore_functions(self, monkeypatch) -> None:
      monkeypatch.setattr(
          validate_docstrings,
          "get_all_api_items",
          lambda: [
              (
                  "pandas.DataFrame.align",
                  "func",
                  "current_section",
                  "current_subsection",
              ),
              (
                  "pandas.Index.all",
                  "func",
                  "current_section",
                  "current_subsection",
              ),
          ],
      )
      result = validate_docstrings.validate_all(
          prefix=None,
          ignore_functions=["pandas.DataFrame.align"],
      )
      assert len(result) == 1
      assert "pandas.Index.all" in result
  
imports: import io
  import textwrap
  import pytest
  from scripts import validate_docstrings
label_desc: Use image node_id 4 for calling the TestValidator obj's underlying member method code with example usage: obj.test_validate_all_ignore_functions(monkeypatch) without return types