-
- Downloads
normalise usage of 'pytest.raises'
In pytest v5 the behaviour of str(exc_info) changed. We now use str(exc_info.value) as the canonical way of obtaining the exception message.
In pytest v5 the behaviour of str(exc_info) changed. We now use str(exc_info.value) as the canonical way of obtaining the exception message.