code: def test_does_not_cache_on_error(self):
      @once.once
      def f():
          raise ValueError
  
      with self.assertRaises(ValueError):
          f()
      with self.assertRaises(ValueError):
          f()
  
imports: import pickle
  from absl.testing import absltest
  from absl.testing import parameterized
  from sonnet.src import once
label_desc: Use image node_id 3 for calling the OnceTest obj's underlying member method code with example usage: obj.test_does_not_cache_on_error() without return types