Scrapy, a fast high-level web crawling & scraping framework for Python.
Merge pull request #1708 from scrapy/fix-scrapy-bench
Daniel Graña0f500a1f82ad
diff --cc tests/test_commands.pyindex aa1b7cc7a,057112d12..a5230eb13--- a/tests/test_commands.py+++ b/tests/test_commands.py@@@ -80,11 -80,10 +80,11 @@@ class StartprojectTemplatesTest(Projectsuper(StartprojectTemplatesTest, self).setUp()self.tmpl = join(self.temp_path, 'templates')self.tmpl_proj = join(self.tmpl, 'project')-+def test_startproject_template_override(self):copytree(join(scrapy.__path__[0], 'templates'), self.tmpl)- os.mknod(join(self.tmpl_proj, 'root_template'))+ with open(join(self.tmpl_proj, 'root_template'), 'w'):+ passassert exists(join(self.tmpl_proj, 'root_template'))args = ['--set', 'TEMPLATES_DIR=%s' % self.tmpl]