code: def test_not_none(self) -> None:
      self.assertEqual(not_none("not_none"), "not_none")
      with self.assertRaises(ValueError):
          not_none(None)
  
file_path: Ax/ax/utils/common/tests/test_typeutils.py
imports: import numpy
  from ax.utils.common.testutils import TestCase
  from ax.utils.common.typeutils import checked_cast, checked_cast_dict, checked_cast_list, checked_cast_optional, not_none, numpy_type_to_python_type
label_desc: Use image node_id 1 for calling the TestTypeUtils obj's underlying member method code with example usage: obj.test_not_none() without return types