Mercurial > piecrust2
changeset 786:97c1dc568810
tests: Fix crash when reporting 404 errors during server tests.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 01 Sep 2016 22:58:31 -0700 |
parents | 661f7ba15762 |
children | f6f9a284a5f3 |
files | tests/conftest.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/conftest.py Wed Aug 31 20:48:29 2016 -0700 +++ b/tests/conftest.py Thu Sep 01 22:58:31 2016 -0700 @@ -418,8 +418,8 @@ if isinstance(excinfo.value, MultipleNotFound): res = '\n'.join( ["HTTP error 404 returned:", - excinfo.value.description] + - [e.description for e in excinfo.value._nfes]) + str(excinfo.value)] + + [str(e) for e in excinfo.value._nfes]) res += repr_nested_failure(excinfo) return res elif isinstance(excinfo.value, HTTPException):