Could it be that,
```
 with pytest.raises(Ice.UnmarshalOutOfBoundsException and Ice.UnknownUserException):
```
is the form needed here?