##// END OF EJS Templates
Fix failure message for tests
Thomas Kluyver -
Show More
@@ -95,7 +95,7 b' def assert_http_error(status, msg=None):'
95 95 except requests.HTTPError as e:
96 96 real_status = e.response.status_code
97 97 assert real_status == status, \
98 "Expected status %d, got %d" % (real_status, status)
98 "Expected status %d, got %d" % (status, real_status)
99 99 if msg:
100 100 assert msg in str(e), e
101 101 else:
General Comments 0
You need to be logged in to leave comments. Login now