Scrapy, a fast high-level web crawling & scraping framework for Python.
Changed character used in unit test because it's not a valid file name char on win32
Pablo Hoffman9c31fc447a67
diff --git a/scrapy/tests/test_downloader_handlers.py b/scrapy/tests/test_downloader_handlers.pyindex a29f47b90..a23d6c6a4 100644--- a/scrapy/tests/test_downloader_handlers.py+++ b/scrapy/tests/test_downloader_handlers.py@@ -20,7 +20,7 @@ class FileTestCase(unittest.TestCase):def setUp(self):self.tmpname = self.mktemp()- fd = open(self.tmpname + '<', 'w')+ fd = open(self.tmpname + '^', 'w')fd.write('0123456789')fd.close()@@ -30,8 +30,8 @@ class FileTestCase(unittest.TestCase):self.assertEquals(response.status, 200)self.assertEquals(response.body, '0123456789')- request = Request('file://%s' % self.tmpname + '<')- assert request.url.upper().endswith('%3C')+ request = Request('file://%s' % self.tmpname + '^')+ assert request.url.upper().endswith('%5E')return download_file(request, BaseSpider()).addCallback(_test)def test_non_existent(self):