code: def test_unsigned_max(self):
      types = np.sctypes["uint"]
      for T in types:
          max_calculated = T(0) - T(1)
          assert_equal(iinfo(T).max, max_calculated)
  
imports: import functools
  import warnings
  from unittest import skipIf
  import numpy
  from pytest import raises
  from torch.testing._internal.common_utils import run_tests, TEST_WITH_TORCHDYNAMO, TestCase, xpassIfTorchDynamo
label_desc: Use image node_id 2 for calling the TestIinfo obj's underlying member method code with example usage: obj.test_unsigned_max() without return types