code: def test_alias_check_fail_outputs_unexpectedly_aliasing(self):
      with self.assertRaisesRegex(
          RuntimeError, "Outputs 0 and 1 alias unexpectedly"
      ):
          x = torch.rand((3, 3))
          with SchemaCheckMode() as s:
              IncorrectAliasTensor(x).aminmax(dim=0)
  
imports: import os
  import sys
  import torch
  from torch.utils._pytree import tree_map
  import unittest
  from torch.testing._internal.common_utils import run_tests
  from torch.fx.operator_schemas import normalize_function
  from torch._subclasses.schema_check_mode import SchemaCheckMode
  from torch.utils._python_dispatch import TorchDispatchMode
  from torch.testing._internal.common_methods_invocations import op_db
  from torch.testing._internal.jit_utils import JitTestCase
  from torch.testing._internal.common_device_type import ops, OpDTypes, instantiate_device_type_tests
label_desc: Use image node_id 28 for calling the TestSchemaCheck obj's underlying member method code with example usage: obj.test_alias_check_fail_outputs_unexpectedly_aliasing() without return types