code: def test_where_int_overflow(replacement, using_infer_string, request):
      # GH 31687
      df = DataFrame([[1.0, 2e25, "nine"], [np.nan, 0.1, None]])
      if using_infer_string and replacement not in (None, "snake"):
          request.node.add_marker(
              pytest.mark.xfail(
                  reason="Can't set non-string into string column"
              )
          )
      result = df.where(pd.notnull(df), replacement)
      expected = DataFrame(
          [[1.0, 2e25, "nine"], [replacement, 0.1, replacement]]
      )
  
      tm.assert_frame_equal(result, expected)
  
imports: from datetime import datetime
  from hypothesis import given
  import numpy
  import pytest
  from pandas.core.dtypes.common import is_scalar
  import pandas
  from pandas import DataFrame, DatetimeIndex, Index, Series, StringDtype, Timestamp, date_range, isna
  import pandas._testing
  from pandas._testing._hypothesis import OPTIONAL_ONE_OF_ALL
label_desc: Use image node_id 17 for calling a global function with example usage: test_where_int_overflow(replacement, using_infer_string, request) without return types