mirror of https://github.com/scrapy/scrapy.git
Skip a doctest in Python 3.5- because of dictionary changes
This commit is contained in:
parent
79d2f99995
commit
414e6e2fd5
|
|
@ -402,6 +402,12 @@ to get all of them::
|
|||
>>> tags
|
||||
['change', 'deep-thoughts', 'thinking', 'world']
|
||||
|
||||
.. invisible-code-block: python
|
||||
|
||||
from sys import version_info
|
||||
|
||||
.. skip: next if(version_info <= (3, 5), reason="Only Python 3.6+ dictionaries match the output")
|
||||
|
||||
Having figured out how to extract each bit, we can now iterate over all the
|
||||
quotes elements and put them together into a Python dictionary::
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue