Scrapy, a fast high-level web crawling & scraping framework for Python.
[test_downloadermiddleware_httpcache] Attempting to add xfail for leveldb related tests https://github.com/scrapy/scrapy/issues/4085
Roydeacd34c8d24
diff --git a/tests/test_downloadermiddleware_httpcache.py b/tests/test_downloadermiddleware_httpcache.pyindex 34bf5776a..e350da72c 100644--- a/tests/test_downloadermiddleware_httpcache.py+++ b/tests/test_downloadermiddleware_httpcache.py@@ -104,6 +104,7 @@ class _BaseTest(unittest.TestCase):class DefaultStorageTest(_BaseTest):+ @pytest.mark.xfail(reason='leveldb not supported in python 3.8')def test_storage(self):with self._storage() as storage:request2 = self.request.copy()@@ -154,7 +155,6 @@ class FilesystemStorageGzipTest(FilesystemStorageTest):new_settings.setdefault('HTTPCACHE_GZIP', True)return super(FilesystemStorageTest, self)._get_settings(**new_settings)[email protected](reason='leveldb not supported in python 3.8')class LeveldbStorageTest(DefaultStorageTest):pytest.importorskip('leveldb')