Planet Python
Follow
Brian Okken: pytest 2.6.0 release
pytest-check version 2.6.0 has been released, addressing a community-reported issue. Previously, check.raises() did not function identically to pytest.raises() in terms of its returned exception object. Specifically, the AssertionError from check.raises() lacked a queryable .value attribute. This new release ensures that check.raises() now provides this attribute, allowing users to inspect the raised exception's value as they can with pytest.raises().