code: def testSerializeWithFallback(self):
      o = object()
      with self.assertRaises(ValueError):
          self.roundtrip({"a": ExampleType(field0=o, field1=o)})
  
file_path: tensorflow/third_party/xla/xla/python/pytree_test.py
imports: import collections
  from absl.testing import absltest
  from xla.python import xla_client
label_desc: Use image node_id 3 for calling the PyTreeTest obj's underlying member method code with example usage: obj.testSerializeWithFallback() without return types