code: def test_docformat():
      with suppress_warnings() as sup:
          sup.filter(category=DeprecationWarning)
          udd = doccer.unindent_dict(doc_dict)
          formatted = doccer.docformat(docstring, udd)
          assert_equal(formatted, filled_docstring)
          single_doc = "Single line doc %(strtest1)s"
          formatted = doccer.docformat(single_doc, doc_dict)
          # Note - initial indent of format string does not
          # affect subsequent indent of inserted parameter
          assert_equal(
              formatted,
              """Single line doc Another test
     with some indent""",
          )
  
file_path: catboost/contrib/python/scipy/py3/scipy/misc/tests/test_doccer.py
imports: import sys
  import pytest
  from numpy.testing import assert_equal, suppress_warnings
  from scipy.misc import doccer
label_desc: Use image node_id 3 for calling a global function with example usage: test_docformat() without return types