class_docstr: Credentials Class Unittest class.
docstr: Test Credentials.load() with Perission denied.
code: def test_Credentials_load_permission_denied(self):
      """Test Credentials.load() with Perission denied."""
      with patch("streamlit.runtime.credentials.open") as m:
          m.side_effect = PermissionError(
              "[Errno 13] Permission denied: ~/.streamlit/credentials.toml"
          )
          c = Credentials.get_current()
          c.activation = None
          with pytest.raises(Exception) as e:
              c.load()
          self.assertEqual(
              str(e.value).split(":")[0],
              "\nUnable to load credentials from "
              f"{MOCK_PATH}.\n"
              'Run "streamlit reset" and try again.\n',
          )
  
imports: import os
  import textwrap
  import unittest
  from pathlib import Path
  from unittest.mock import MagicMock, call, mock_open, patch
  import pytest
  import requests_mock
  from testfixtures import tempdir
  from streamlit import file_util
  from streamlit.runtime.credentials import Credentials, _Activation, _verify_email, email_prompt
label_desc: Use image node_id 10 for calling the CredentialsClassTest obj's underlying member method code with example usage: obj.test_Credentials_load_permission_denied() without return types