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.
Loading
Please register or sign in to comment
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.