Scrapy, a fast high-level web crawling & scraping framework for Python.
fixed bug with unittests data in win32
Pablo Hoffmaneb649d661d83
diff --git a/scrapy/tests/__init__.py b/scrapy/tests/__init__.pyindex a102cf994..46c662312 100644--- a/scrapy/tests/__init__.py+++ b/scrapy/tests/__init__.py@@ -16,4 +16,4 @@ tests_datadir = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'sampledef get_testdata(*paths):"""Return test data"""path = os.path.join(tests_datadir, *paths)- return open(path).read()+ return open(path, 'rb').read()