Skip a doctest in Python 3.5- because of dictionary changes

This commit is contained in:
Adrián Chaves 2019-11-13 07:56:45 +01:00
parent 79d2f99995
commit 414e6e2fd5
1 changed files with 6 additions and 0 deletions

View File

@ -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::