Scrapy, a fast high-level web crawling & scraping framework for Python.
it is not possible to enforce an upper limit when latency is out of control
Daniel Grañad7e11082f290
diff --git a/scrapy/tests/test_crawl.py b/scrapy/tests/test_crawl.pyindex 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.2self.assertTrue(avgd > delay * (1 - tolerance),"download delay too small: %s" % avgd)- self.assertTrue(avgd < delay * (1 + tolerance),- "download delay too big: %s" % avgd)@defer.inlineCallbacksdef test_timeout_success(self):