code: def test_invalid_resources_param(self, test_plot) -> None:
      with pytest.raises(ValueError):
          bes.server_session(
              test_plot, session_id="fakesession", resources=123
          )
      with pytest.raises(ValueError):
          bes.server_session(
              test_plot, session_id="fakesession", resources="whatever"
          )
  
imports: from __future__ import annotations
  import pytest
  import bs4
  import bokeh.embed.server
label_desc: Use image node_id 3 for calling the TestServerSession obj's underlying member method code with example usage: obj.test_invalid_resources_param(test_plot) without return types