summaryrefslogtreecommitdiff
path: root/cherrypy/lib/gctools.py
diff options
context:
space:
mode:
Diffstat (limited to 'cherrypy/lib/gctools.py')
-rw-r--r--cherrypy/lib/gctools.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/cherrypy/lib/gctools.py b/cherrypy/lib/gctools.py
index 46365576..4b616c59 100644
--- a/cherrypy/lib/gctools.py
+++ b/cherrypy/lib/gctools.py
@@ -134,13 +134,14 @@ class GCRoot(object):
"""A CherryPy page handler for testing reference leaks."""
- classes = [(_cprequest.Request, 2, 2,
- "Should be 1 in this request thread and 1 in the main thread."),
- (_cprequest.Response, 2, 2,
- "Should be 1 in this request thread and 1 in the main thread."),
- (_cpwsgi.AppResponse, 1, 1,
- "Should be 1 in this request thread only."),
- ]
+ classes = [
+ (_cprequest.Request, 2, 2,
+ "Should be 1 in this request thread and 1 in the main thread."),
+ (_cprequest.Response, 2, 2,
+ "Should be 1 in this request thread and 1 in the main thread."),
+ (_cpwsgi.AppResponse, 1, 1,
+ "Should be 1 in this request thread only."),
+ ]
def index(self):
return "Hello, world!"