code: def test_dictrecursion(self):
      x = {}
      x["test"] = x
      try:
          json.dumps(x)
      except ValueError:
          pass
      else:
          self.fail("didn't raise ValueError on dict recursion")
      x = {}
      y = {"a": x, "b": x}
      # ensure that the marker is cleared
      json.dumps(y)
  
file_path: catboost/contrib/python/simplejson/py2/simplejson/tests/test_recursion.py
imports: from unittest import TestCase
  import simplejson
label_desc: Use image node_id 2 for calling the TestRecursion obj's underlying member method code with example usage: obj.test_dictrecursion() without return types