mirror of https://github.com/scrapy/scrapy.git
Merge pull request #5736 from wRAR/test-char-comment
Add a comment about `tmpname + '^'`.
This commit is contained in:
commit
3be7aa9a0f
|
|
@ -109,6 +109,7 @@ class FileTestCase(unittest.TestCase):
|
|||
|
||||
def setUp(self):
|
||||
self.tmpname = self.mktemp()
|
||||
# add a special char to check that they are handled correctly
|
||||
with open(self.tmpname + '^', 'w') as f:
|
||||
f.write('0123456789')
|
||||
handler = create_instance(FileDownloadHandler, None, get_crawler())
|
||||
|
|
|
|||
Loading…
Reference in New Issue