Pythonfrompythontest.com6 days agopytest 2.6.0 releasepytest-check 2.6.0 makes check.raises() return an object with a .value property so exception values can be inspected like pytest.raises().