# HG changeset patch # User Ludovic Chabant # Date 1472795911 25200 # Node ID 97c1dc568810c45adac6741c9ccf440843cbd817 # Parent 661f7ba15762a1ae31e9bce3250c87d942ed0b94 tests: Fix crash when reporting 404 errors during server tests. diff -r 661f7ba15762 -r 97c1dc568810 tests/conftest.py --- 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):