code: def test_pdb_on_xfail(self, pytester: Pytester, pdblist) -> None:
      rep = runpdb_and_get_report(
          pytester,
          """
              import pytest
              @pytest.mark.xfail
              def test_func():
                  assert 0
          """,
      )
      assert "xfail" in rep.keywords
      assert not pdblist
  
imports: import os
  import sys
  from typing import List
  import _pytest._code
  import pytest
  from _pytest.debugging import _validate_usepdb_cls
  from _pytest.monkeypatch import MonkeyPatch
  from _pytest.pytester import Pytester
label_desc: Use image node_id 3 for calling the TestPDB obj's underlying member method code with example usage: obj.test_pdb_on_xfail(pytester, pdblist) without return types