code: def test_check_yanked(mock_server):
      (
          latest_version,
          pip_prerelease,
          deleted,
          yanked,
          yanked_message,
      ) = update._find_available("0.0.2")
      assert (latest_version, pip_prerelease) == (
          wandb.__version__,
          False,
      )
      assert deleted is False
      assert yanked is True
      assert yanked_message is None
  
file_path: wandb/tests/pytest_tests/unit_tests_old/test_core/internal_update_test.py
imports: import wandb
label_desc: Use image node_id 6 for calling a global function with example usage: test_check_yanked(mock_server) without return types