code: def test_register_plugin_entry_point_raises_type():
      class invalid_node:
          pass
  
      entry_point = MockEntryPoint(
          "test", invalid_node, "test_module.test"
      )
  
      Stream.register_plugin_entry_point(entry_point)
  
      with pytest.raises(TypeError):
          Stream.test()
  
file_path: streamz/streamz/tests/test_plugins.py
imports: import inspect
  import pytest
  from streamz import Source, Stream
label_desc: Use image node_id 3 for calling a global function with example usage: test_register_plugin_entry_point_raises_type() without return types