Skip to content

normalise usage of 'pytest.raises'

Joseph Weston requested to merge jbweston/kwant:hotfix/pytest into stable

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.

Edited by Joseph Weston

Merge request reports