code: def test_pdb_print_captured_logs_nologging(
      self, pytester: Pytester
  ) -> None:
      p1 = pytester.makepyfile(
          """
              def test_1():
                  import logging
                  logging.warning("get " + "rekt")
                  assert False
          """
      )
      child = pytester.spawn_pytest(
          "--show-capture=all --pdb -p no:logging %s" % p1
      )
      child.expect("get rekt")
      output = child.before.decode("utf8")
      assert "captured log" not in output
      child.expect("Pdb")
      child.sendeof()
      rest = child.read().decode("utf8")
      assert "1 failed" in rest
      self.flush(child)
  
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 14 for calling the TestPDB obj's underlying member method code with example usage: obj.test_pdb_print_captured_logs_nologging(pytester) without return types