code: def test_search_cpp(self):
      pkg_dir, dist = self.create_dist()
      cmd = config(dist)
  
      # simple pattern searches
      match = cmd.search_cpp(pattern="xxx", body="/* xxx */")
      self.assertEqual(match, 0)
  
      match = cmd.search_cpp(pattern="_configtest", body="/* xxx */")
      self.assertEqual(match, 1)
  
file_path: catboost/contrib/tools/python/src/Lib/distutils/tests/test_config_cmd.py
imports: import unittest
  import os
  import sys
  from test.test_support import run_unittest
  from distutils.command.config import dump_file, config
  from distutils.tests import support
  from distutils import log
label_desc: Use image node_id 5 for calling the ConfigTestCase obj's underlying member method code with example usage: obj.test_search_cpp() without return types