code: def test_decimal_roundtrip(self):
      for d in map(Decimal, self.NUMS):
          # The type might not be the same (int and Decimal) but they
          # should still compare equal.
          for v in [d, [d], {"": d}]:
              self.assertEqual(
                  self.loads(
                      self.dumps(v, use_decimal=True),
                      parse_float=Decimal,
                  ),
                  v,
              )
  
file_path: catboost/contrib/python/simplejson/py3/simplejson/tests/test_decimal.py
imports: import decimal
  from decimal import Decimal
  from unittest import TestCase
  from simplejson.compat import StringIO, reload_module
  import simplejson
label_desc: Use image node_id 6 for calling the TestDecimal obj's underlying member method code with example usage: obj.test_decimal_roundtrip() without return types