code: def test_bad_class(self, capsys) -> None:
      errors = validate_docstrings.pandas_validate(
          self._import_path(klass="BadDocstrings")
      )["errors"]
      assert isinstance(errors, list)
      assert errors
  
imports: import io
  import textwrap
  import pytest
  from scripts import validate_docstrings
label_desc: Use image node_id 2 for calling the TestValidator obj's underlying member method code with example usage: obj.test_bad_class(capsys) without return types