code: def test_single_alias_is_write_to_wildcard(self) -> None:
      a = Annotation.parse("a! -> *")
      self.assertEqual(a.alias_set, tuple("a"))
      self.assertTrue(a.is_write)
      self.assertEqual(a.alias_set_after, tuple("*"))
  
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 3 for calling the TestAnnotation obj's underlying member method code with example usage: obj.test_single_alias_is_write_to_wildcard() without return types