STY: use pytest.raises context syntax (series/indexing/*)
xref #24332 

`@pytest.mark.xfail` applied to `test_where_unsafe_itemsize_fail` : does not raise using python index operator instead of `__setitem__` with `tuple`