Skip to content

Commit

Permalink
[test_downloadermiddleware_httpcache.py] Fixing pytest mark behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
further-reading committed Oct 28, 2019
1 parent 7490903 commit b73d217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_downloadermiddleware_httpcache.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'


Expand Down

0 comments on commit b73d217

Please sign in to comment.