diff --git a/pyspider/__init__.py b/pyspider/__init__.py index df929893c..c6ac23af5 100644 --- a/pyspider/__init__.py +++ b/pyspider/__init__.py @@ -5,4 +5,4 @@ # http://binux.me # Created on 2014-11-17 19:17:12 -__version__ = '0.3.10-dev' +__version__ = '0.3.10' diff --git a/tests/test_fetcher_processor.py b/tests/test_fetcher_processor.py index 0cab66fbd..e2b11ba23 100644 --- a/tests/test_fetcher_processor.py +++ b/tests/test_fetcher_processor.py @@ -486,6 +486,6 @@ def test_zzz_robots_txt(self): def test_zzz_connect_timeout(self): start_time = time.time() - status, newtasks, result = self.crawl('http://10.123.321.25/', connect_timeout=5, callback=self.catch_http_error) + status, newtasks, result = self.crawl('http://240.0.0.1/', connect_timeout=5, callback=self.catch_http_error) end_time = time.time() self.assertTrue(5 <= end_time - start_time <= 6)