diff --git a/src/allmydata/test/web/test_web.py b/src/allmydata/test/web/test_web.py index 4dbdf685b..cebe709c1 100644 --- a/src/allmydata/test/web/test_web.py +++ b/src/allmydata/test/web/test_web.py @@ -4290,7 +4290,7 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, testutil.ReallyEqualMixi http.FOUND, http.TEMPORARY_REDIRECT, ] if code is None else [code] - body = yield response.content() + yield response.content() self.assertIn(response.code, codes) location = response.headers.getRawHeaders(b"location")[0] if target_location is not None: