code: def test_incorrect_param_type(BaseTestHandler):
      from tvm.micro import project_api
  
      fixture = ClientServerFixture(BaseTestHandler())
  
      # The error message given at the JSON-RPC server level doesn't make sense when preprocessing is
      # used. Only test without preprocessing here.
      assert hasattr(fixture.server, "_dispatch_build") == False
      with pytest.raises(project_api.server.JSONRPCError) as exc_info:
          fixture.client._request_reply("build", {"options": None})
  
      assert (
          exc_info.value.code
          == project_api.server.ErrorCode.INVALID_PARAMS
      )
      assert (
          "build: parameter options: want <class 'dict'>, got <class 'NoneType'>"
          in str(exc_info.value)
      )
  
imports: import collections
  import io
  import json
  import sys
  import unittest
  from unittest import mock
  import pytest
  import tvm
  import tvm.testing
label_desc: Use image node_id 16 for calling a global function with example usage: test_incorrect_param_type(BaseTestHandler) without return types