code: def test_alias_set_is_write_raises_exception(self) -> None:
      with self.assertRaisesRegex(
          AssertionError, r"alias set larger than 1 is not mutable"
      ):
          Annotation.parse("a|b!")
  
imports: import textwrap
  import unittest
  from typing import cast
  import expecttest
  import torchgen.dest
  import torchgen.gen
  import yaml
  from torchgen.gen import LineLoader, parse_native_yaml_struct
  from torchgen.model import Annotation, CustomClassType, DispatchKey, NativeFunctionsGroup, Type
label_desc: Use image node_id 5 for calling the TestAnnotation obj's underlying member method code with example usage: obj.test_alias_set_is_write_raises_exception() without return types