code: def test_series_fillna(data, index, value):
      psr = pd.Series(
          data,
          index=index
          if index is not None and len(index) == len(data)
          else None,
      )
      gsr = cudf.Series(
          data,
          index=index
          if index is not None and len(index) == len(data)
          else None,
      )
  
      expect = psr.fillna(pd.Series(value))
      got = gsr.fillna(cudf.Series(value))
      assert_eq(expect, got)
  
imports: import re
  from decimal import Decimal
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf.core._compat import PANDAS_GE_134, PANDAS_GE_150
  from cudf.core.dtypes import Decimal32Dtype, Decimal64Dtype, Decimal128Dtype
  from cudf.testing._utils import INTEGER_TYPES, NUMERIC_TYPES, assert_eq, assert_exceptions_equal
label_desc: Use image node_id 29 for calling a global function with example usage: test_series_fillna(data, index, value) without return types