From c4be4b566cab402c2c6af6158de67be783525988 Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Thu, 11 Jun 2020 20:50:03 -0400 Subject: [PATCH] Make TestRequest an object Wouldn't pass PythonTwoRegressions.test_new_style_classes without this. --- src/allmydata/test/test_checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/test/test_checker.py b/src/allmydata/test/test_checker.py index 2bea98280..75619beaa 100644 --- a/src/allmydata/test/test_checker.py +++ b/src/allmydata/test/test_checker.py @@ -36,7 +36,7 @@ class FakeClient(object): # Also, the request needs to have `args` and `fields` properties so # that `allmydata.web.common.get_arg()` won't complain. @implementer(IRequest) -class TestRequest(Request): +class TestRequest(object, Request): def __init__(self, args=None, fields=None): Request.__init__(self, DummyChannel()) self.args = args or {}