Skip to content

Commit

Permalink
[test_downloadermiddleware_httpcache.py] Cleaning text
Browse files Browse the repository at this point in the history
  • Loading branch information
further-reading committed Oct 28, 2019
1 parent b73d217 commit 93e3dc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_downloadermiddleware_httpcache.py
Expand Up @@ -155,13 +155,13 @@ def _get_settings(self, **new_settings):
new_settings.setdefault('HTTPCACHE_GZIP', True)
return super(FilesystemStorageTest, self)._get_settings(**new_settings)


class LeveldbStorageTest(DefaultStorageTest):

try:
pytest.importorskip('leveldb')
except SystemError:
# Happens in python 3.8
pytestmark = pytest.mark.skip("'SystemError: bad call flags' occurs on Python 3.8")
pytestmark = pytest.mark.skip("Test module skipped - 'SystemError: bad call flags' occurs when >= Python 3.8")
storage_class = 'scrapy.extensions.httpcache.LeveldbCacheStorage'


Expand Down

0 comments on commit 93e3dc1

Please sign in to comment.