code: def test_validate_all_ignore_deprecated(self, monkeypatch) -> None:
      monkeypatch.setattr(
          validate_docstrings,
          "pandas_validate",
          lambda func_name: {
              "docstring": "docstring1",
              "errors": [
                  ("ER01", "err desc"),
                  ("ER02", "err desc"),
                  ("ER03", "err desc"),
              ],
              "warnings": [],
              "examples_errors": "",
              "deprecated": True,
          },
      )
      result = validate_docstrings.validate_all(
          prefix=None, ignore_deprecated=True
      )
      assert len(result) == 0
  
imports: import io
  import textwrap
  import pytest
  from scripts import validate_docstrings
label_desc: Use image node_id 5 for calling the TestValidator obj's underlying member method code with example usage: obj.test_validate_all_ignore_deprecated(monkeypatch) without return types