def test_compare_scalar(self, data, all_compare_operators):
    if pa.types.is_list(data.dtype.arrow_dtype):
        pytest.xfail('pandas cannot cope with lists as scalar')
    else:
        op_name = all_compare_operators
        s = pd.Series(data)
        self._compare_other(s, data, op_name, data[0])
def test_compare_scalar(self, data, all_compare_operators):
    if pa.types.is_list(data.dtype.arrow_dtype):
        pytest.xfail('pandas cannot cope with lists as scalar')
    else:
        op_name = all_compare_operators
        s = pd.Series(data)
        self._compare_other(s, data, op_name, data[0])