docstr: Method：
  1. create a collection with invalid partition keys
  2. verify the error raised
docstr_tok: ["Method\uff1a","1.","create","a","collection","with","invalid","partition","keys","2.","verify","the","error","raised"]
code: def test_invalid_partition_key_values(self, is_par_key):
      """
      Method：
      1. create a collection with invalid partition keys
      2. verify the error raised
      """
      self._connect()
      err_msg = "Param is_partition_key must be bool type"
      int64_field = cf.gen_int64_field(
          is_partition_key=is_par_key,
          check_task=CheckTasks.err_res,
          check_items={"err_code": 2, "err_msg": err_msg},
      )
  
imports: import pytest
  from base.client_base import TestcaseBase
  from common import common_func
  from common import common_type
  from common.common_type import CaseLabel, CheckTasks
  from utils.util_pymilvus import *
label_desc: Use image node_id 3 for calling the TestPartitionKeyInvalidParams obj's underlying member method code with example usage: obj.test_invalid_partition_key_values(is_par_key) without return types