code: def test_no_extra_fields(self):
      p = Point(x=1, y=2, meta={})
      with self.assertRaises(dataclasses.FrozenInstanceError):
          p.new_field = 1
  
file_path: flax/tests/struct_test.py
imports: import dataclasses
  from typing import Any
  import jax
  from absl.testing import absltest
  from jax._src.tree_util import prefix_errors
  from flax import struct
label_desc: Use image node_id 1 for calling the StructTest obj's underlying member method code with example usage: obj.test_no_extra_fields() without return types