code: def test_set_const_type():
      wb_type = ConstType(set())
      assert wb_type.assign(set()) == wb_type
      assert wb_type.assign(None) == InvalidType()
      assert wb_type.assign({1}) == InvalidType()
      assert wb_type.assign([]) == InvalidType()
  
      wb_type = ConstType({1, 2, 3})
      assert wb_type.assign(set()) == InvalidType()
      assert wb_type.assign(None) == InvalidType()
      assert wb_type.assign({1, 2, 3}) == wb_type
      assert wb_type.assign([1, 2, 3]) == InvalidType()
  
imports: import datetime
  import numpy
  import pytest
  import wandb
  from wandb import data_types
  from wandb.sdk.data_types._dtypes import AnyType, BooleanType, ConstType, InvalidType, ListType, NoneType, NumberType, OptionalType, StringType, TimestampType, TypedDictType, TypeRegistry, UnionType, UnknownType
label_desc: Use image node_id 11 for calling a global function with example usage: test_set_const_type() without return types