code: def test_static():
      ExamplePythonTypes.value = 15
      assert ExamplePythonTypes.value == 15
      assert ExamplePythonTypes.value2 == 5
  
      with pytest.raises(AttributeError) as excinfo:
          ExamplePythonTypes.value2 = 15
      assert str(excinfo.value) == "can't set attribute"
  
file_path: coremltools/deps/pybind11/tests/test_python_types.py
imports: import pytest
  from pybind11_tests import ExamplePythonTypes, ConstructorStats, has_optional, has_exp_optional
label_desc: Use image node_id 2 for calling a global function with example usage: test_static() without return types