Scrapy, a fast high-level web crawling & scraping framework for Python.
py3 fix for TestS3FilesStore: checksum is a native string
Konstantin Lopuhin3cb7a567ea0f
diff --git a/tests/test_pipeline_files.py b/tests/test_pipeline_files.pyindex 6ea47086f..e445d9989 100644--- a/tests/test_pipeline_files.py+++ b/tests/test_pipeline_files.py@@ -198,7 +198,7 @@ class TestS3FilesStore(unittest.TestCase):s = yield store.stat_file(path, info=None)self.assertIn('last_modified', s)self.assertIn('checksum', s)- self.assertEqual(s['checksum'], b'3187896a9657a28163abb31667df64c8')+ self.assertEqual(s['checksum'], '3187896a9657a28163abb31667df64c8')u = urlparse(uri)content = get_s3_content_and_delete(u.hostname, u.path[1:])self.assertEqual(content, data)