@pytest.mark.parametrize('val,exp_dtype', [(1, np.int64), (1.1, np.float64), ((1 + 1j), np.complex128), (True, object)])
def test_setitem_series_int64(self, val, exp_dtype, request):
    obj = pd.Series([1, 2, 3, 4])
    assert (obj.dtype == np.int64)
    if (exp_dtype is np.float64):
        exp = pd.Series([1, 1, 3, 4])
        self._assert_setitem_series_conversion(obj, 1.1, exp, np.int64)
        mark = pytest.mark.xfail(reason='GH12747 The result must be float')
        request.node.add_marker(mark)
    exp = pd.Series([1, val, 3, 4])
    self._assert_setitem_series_conversion(obj, val, exp, exp_dtype)
@pytest.mark.parametrize('val,exp_dtype', [(1, np.int64), (1.1, np.float64), ((1 + 1j), np.complex128), (True, object)])
def test_setitem_series_int64(self, val, exp_dtype, request):
    obj = pd.Series([1, 2, 3, 4])
    assert (obj.dtype == np.int64)
    if (exp_dtype is np.float64):
        exp = pd.Series([1, 1, 3, 4])
        self._assert_setitem_series_conversion(obj, 1.1, exp, np.int64)
        mark = pytest.mark.xfail(reason='GH12747 The result must be float')
        request.node.add_marker(mark)
    exp = pd.Series([1, val, 3, 4])
    self._assert_setitem_series_conversion(obj, val, exp, exp_dtype)