code: def test_dump(self):
      sio = StringIO()
      self.json.dump({}, sio)
      self.assertEqual(sio.getvalue(), "{}")
  
file_path: cpython/Lib/test/test_json/test_dump.py
imports: from io import StringIO
  from test.test_json import PyTest, CTest
  from test.support import bigmemtest, _1G
label_desc: Use image node_id 1 for calling the TestDump obj's underlying member method code with example usage: obj.test_dump() without return types