code: def test_remove_duplicate_fields():
      props = {TYPE: "random", "probabilities": [0.7, 0.1, 0.2]}
      schema_utils.remove_duplicate_fields(props, [TYPE])
      assert TYPE not in props
      assert "probabilities" in props
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_remove_duplicate_fields() without return types