code: def test_print_config(self):
      self.config.abc = 1
      sio = io.StringIO()
      self.config.show(sio)
      contents = sio.getvalue()
      self.assertEqual(
          contents, "abc 1\nx   global x\ny   local y\nz   local z\n"
      )
  
file_path: chainer/tests/chainer_tests/test_configuration.py
imports: import io
  import threading
  import unittest
  import chainer
  from chainer import configuration
  from chainer import testing
label_desc: Use image node_id 6 for calling the TestLocalConfig obj's underlying member method code with example usage: obj.test_print_config() without return types