code: def test_name():
      x = Test()
      with pytest.raises(AttributeError) as excinfo:
          x.elizabeth
          assert "elizabeth" in excinfo
  
file_path: sagemaker-python-sdk/tests/unit/test_hyperparameter.py
imports: from __future__ import absolute_import
  import pytest
  from sagemaker.amazon.hyperparameter import Hyperparameter
label_desc: Use image node_id 4 for calling a global function with example usage: test_name() without return types