code: def test_case_when_multiple_conditions_replacement_list(df):
      """
      Test output when replacement is a list
      """
      result = Series([np.nan, np.nan, np.nan]).case_when(
          [
              ([True, False, False], 1),
              (df["a"].gt(1) & df["b"].eq(5), [1, 2, 3]),
          ]
      )
      expected = Series([1, 2, np.nan])
      tm.assert_series_equal(result, expected)
  
file_path: pandas/pandas/tests/series/methods/test_case_when.py
imports: import numpy
  import pytest
  from pandas import DataFrame, Series, array, date_range
  import pandas._testing
label_desc: Use image node_id 8 for calling a global function with example usage: test_case_when_multiple_conditions_replacement_list(df) without return types