class_docstr: Various Series and DataFrame methods.
class_docstr_tok: ["Various","Series","and","DataFrame","methods","."]
code: def test_combine_le(self, data_repeated):
      # GH 20825
      # Test that combine works when doing a <= (le) comparison
      orig_data1, orig_data2 = data_repeated(2)
      s1 = pd.Series(orig_data1)
      s2 = pd.Series(orig_data2)
      result = s1.combine(s2, lambda x1, x2: x1 <= x2)
      expected = pd.Series(
          pd.array(
              [
                  a <= b
                  for (a, b) in zip(list(orig_data1), list(orig_data2))
              ],
              dtype=self._combine_le_expected_dtype,
          )
      )
      tm.assert_series_equal(result, expected)
  
      val = s1.iloc[0]
      result = s1.combine(val, lambda x1, x2: x1 <= x2)
      expected = pd.Series(
          pd.array(
              [a <= val for a in list(orig_data1)],
              dtype=self._combine_le_expected_dtype,
          )
      )
      tm.assert_series_equal(result, expected)
  
imports: import inspect
  import operator
  import numpy
  import pytest
  from pandas._typing import Dtype
  from pandas.core.dtypes.common import is_bool_dtype
  from pandas.core.dtypes.dtypes import NumpyEADtype
  from pandas.core.dtypes.missing import na_value_for_dtype
  import pandas
  import pandas._testing
  from pandas.core.sorting import nargsort
label_desc: Use image node_id 29 for calling the BaseMethodsTests obj's underlying member method code with example usage: obj.test_combine_le(data_repeated) without return types