From fedd7920a8cdf6fedb7930740b7865454663fe89 Mon Sep 17 00:00:00 2001 From: messense Date: Thu, 23 Feb 2017 10:39:14 +0800 Subject: [PATCH] Fix exception collection typo --- sanic/testing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanic/testing.py b/sanic/testing.py index 52e70f5a..387424b0 100644 --- a/sanic/testing.py +++ b/sanic/testing.py @@ -45,7 +45,7 @@ class TestClient: **request_kwargs) results[-1] = response except Exception as e: - exceptions.self.append(e) + exceptions.append(e) self.app.stop() self.app.run(host=HOST, debug=debug, port=PORT, **server_kwargs)