code: def test_strip_keys_with_value_none():
      d = {"a": 1, "b": None, "c": 3}
      assert strip_keys_with_value_none(d) == {"a": 1, "c": 3}
      d = {"a": 1, "b": 2, "c": 3}
      assert strip_keys_with_value_none(d) == d
      d = {"a": 1, "b": None, "c": None}
      assert strip_keys_with_value_none(d) == {"a": 1}
  
file_path: ray/dashboard/modules/job/tests/test_utils.py
imports: from tempfile import NamedTemporaryFile
  import sys
  import pytest
  from ray.dashboard.modules.job.common import JobSubmitRequest
  from ray.dashboard.modules.job.utils import file_tail_iterator, strip_keys_with_value_none, parse_and_validate_request, redact_url_password
label_desc: Use image node_id 2 for calling a global function with example usage: test_strip_keys_with_value_none() without return types