[test_downloadermiddleware_httpcache.py] Fixing pytest mark behaviour

https://github.com/scrapy/scrapy/issues/4085
This commit is contained in:
Roy 2019-10-28 12:55:54 +00:00
parent 74909030a5
commit b73d217de5
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ class LeveldbStorageTest(DefaultStorageTest):
pytest.importorskip('leveldb')
except SystemError:
# Happens in python 3.8
pytestmark = pytest.skip("'SystemError: bad call flags' occurs on Python 3.8")
pytestmark = pytest.mark.skip("'SystemError: bad call flags' occurs on Python 3.8")
storage_class = 'scrapy.extensions.httpcache.LeveldbCacheStorage'