From a67e745b26130e78c17c4b46e24deec96ee837d3 Mon Sep 17 00:00:00 2001 From: david-sarah Date: Mon, 7 Jun 2010 21:20:12 -0700 Subject: [PATCH] test_web.py: fix pyflakes warnings introduced by byterange patch. --- src/allmydata/test/test_web.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index 25f7493b4..361d2ca10 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", "",