From d7e11082f290766bf469ba68628f3903ec5f738a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gra=C3=B1a?= Date: Thu, 18 Jul 2013 11:07:42 -0300 Subject: [PATCH] it is not possible to enforce an upper limit when latency is out of control --- scrapy/tests/test_crawl.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scrapy/tests/test_crawl.py b/scrapy/tests/test_crawl.py index 2a5fbdb62..dcc186c2d 100644 --- a/scrapy/tests/test_crawl.py +++ b/scrapy/tests/test_crawl.py @@ -47,8 +47,6 @@ class CrawlTestCase(TestCase): tolerance = 0.6 if randomize else 0.2 self.assertTrue(avgd > delay * (1 - tolerance), "download delay too small: %s" % avgd) - self.assertTrue(avgd < delay * (1 + tolerance), - "download delay too big: %s" % avgd) @defer.inlineCallbacks def test_timeout_success(self):