class_docstr: Tests of SessionStateProxy attribute methods.
  
  Separate from the others to change patching. Test methods are individually
  patched to avoid issues with mutability.
class_docstr_tok: ["Tests","of","SessionStateProxy","attribute","methods",".","Separate","from","the","others","to","change","patching",".","Test","methods","are","individually","patched","to","avoid","issues","with","mutability","."]
code: def test_getattr_error(self):
      with pytest.raises(AttributeError):
          del self.session_state_proxy.nonexistent
  
imports: import unittest
  from typing import Any, Dict
  from unittest.mock import MagicMock, patch
  import pytest
  from streamlit.errors import StreamlitAPIException
  from streamlit.runtime.state import SafeSessionState, SessionState, SessionStateProxy
  from streamlit.runtime.state.common import GENERATED_WIDGET_ID_PREFIX, require_valid_user_key
label_desc: Use image node_id 4 for calling the SessionStateProxyAttributeTests obj's underlying member method code with example usage: obj.test_getattr_error() without return types