From: david-sarah Date: Tue, 8 Jun 2010 04:20:12 +0000 (-0700) Subject: test_web.py: fix pyflakes warnings introduced by byterange patch. X-Git-Url: https://git.rkrishnan.org/pf/content/frontends/reedownlee?a=commitdiff_plain;h=a67e745b26130e78c17c4b46e24deec96ee837d3;p=tahoe-lafs%2Ftahoe-lafs.git test_web.py: fix pyflakes warnings introduced by byterange patch. --- diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index 25f7493b..361d2ca1 100644 --- a/src/allmydata/test/test_web.py +++ b/src/allmydata/test/test_web.py @@ -599,7 +599,6 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, unittest.TestCase): def test_GET_FILEURL_partial_range_overrun(self): headers = {"range": "bytes=100-200"} - length = len(self.BAR_CONTENTS) d = self.shouldFail2(error.Error, "test_GET_FILEURL_range_overrun", "416 Requested Range not satisfiable", "First beyond end of file", @@ -648,7 +647,6 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, unittest.TestCase): def test_HEAD_FILEURL_partial_range_overrun(self): headers = {"range": "bytes=100-200"} - length = len(self.BAR_CONTENTS) d = self.shouldFail2(error.Error, "test_HEAD_FILEURL_range_overrun", "416 Requested Range not satisfiable", "",