Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Fix doctest skipping based on the running Python version

Adrián Chavesb642a1fca298
diff --git a/docs/intro/tutorial.rst b/docs/intro/tutorial.rst
index 30b1ddeab..6b15a5fbd 100644
--- a/docs/intro/tutorial.rst
+++ b/docs/intro/tutorial.rst
@@ -406,7 +406,7 @@ to get all of them::
from sys import version_info
-.. skip: next if(version_info <= (3, 5), reason="Only Python 3.6+ dictionaries match the output")
+.. skip: next if(version_info < (3, 6), 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::