code: def test_unserializable(self):
      try:
          assert_json_serializable(set())
          assert False, "Expected exception on set"
      except AssertionError:
          pass
  
      try:
          assert_json_serializable({"a": set()})
          assert False, "Expected exception on nested set"
      except AssertionError:
          pass
  
      try:
          assert_json_serializable({"a": [set()]})
          assert False, "Expected exception on nested set"
      except AssertionError:
          pass
  
      try:
          assert_json_serializable({"a": [{"b": set()}]})
          assert False, "Expected exception on nested set"
      except AssertionError:
          pass
  
      class Unserializable:
          pass
  
      try:
          assert_json_serializable(Unserializable())
          assert False, "Expected exception on class"
      except AssertionError:
          pass
  
imports: from graphistry.utils.json import assert_json_serializable
label_desc: Use image node_id 5 for calling the TestAssertJsonSerializable obj's underlying member method code with example usage: obj.test_unserializable() without return types