code: def test_filter_none():
      assert filter_none([]) == []
      assert filter_none([None, []]) == [[]]
      assert filter_none([0, []]) == [0, []]
      assert filter_none([1, 2, [None]]) == [1, 2, [None]]
      assert filter_none(
          [
              1,
              3.5,
              2,
              4,
          ]
      ) == [1, 3.5, 2, 4]
      assert filter_none([1, 2, 3.0, None, 5]) == [1, 2, 3.0, 5]
      assert filter_none(["a", "b", "c", None]) == ["a", "b", "c"]
      assert filter_none([None, [None, [None, [None]]]]) == [
          [None, [None, [None]]]
      ]
  
imports: from hailtop.utils import partition, url_basename, url_join, url_scheme, url_and_params, parse_docker_image_reference, grouped
  from hailtop.utils.utils import digits_needed, unzip, filter_none, flatten
label_desc: Use image node_id 23 for calling a global function with example usage: test_filter_none() without return types