Scrapy, a fast high-level web crawling & scraping framework for Python.
TST enable doctests for Python 3
Mikhail Korobov51bd9f7d6487
diff --git a/conftest.py b/conftest.pyindex 76461a45a..9f9a5bca7 100644--- a/conftest.py+++ b/conftest.py@@ -10,7 +10,8 @@ if 'django' not in optional_features:if six.PY3:for fn in open('tests/py3-ignores.txt'):- collect_ignore.append(fn.strip())+ if fn.strip():+ collect_ignore.append(fn.strip())class LogObservers:"""Class for keeping track of log observers across test modules"""diff --git a/tests/py3-ignores.txt b/tests/py3-ignores.txtindex 685dbc17d..ea69e21de 100644--- a/tests/py3-ignores.txt+++ b/tests/py3-ignores.txt@@ -66,3 +66,34 @@ tests/test_utils_signal.pytests/test_utils_template.pytests/test_utils_url.pytests/test_webclient.py++scrapy/xlib/tx/iweb.py+scrapy/xlib/tx/interfaces.py+scrapy/xlib/tx/endpoints.py+scrapy/xlib/tx/client.py+scrapy/xlib/tx/_newclient.py+scrapy/xlib/tx/__init__.py+scrapy/xlib/tx/__init__.py+scrapy/utils/testsite.py+scrapy/http/cookies.py+scrapy/core/downloader/handlers/s3.py+scrapy/core/downloader/handlers/http11.py+scrapy/core/downloader/handlers/http.py+scrapy/core/downloader/handlers/ftp.py+scrapy/core/downloader/webclient.py+scrapy/contrib/pipeline/images.py+scrapy/contrib/pipeline/files.py+scrapy/contrib/linkextractors/sgml.py+scrapy/contrib/linkextractors/regex.py+scrapy/contrib/linkextractors/htmlparser.py+scrapy/contrib/downloadermiddleware/retry.py+scrapy/contrib/downloadermiddleware/httpproxy.py+scrapy/contrib/downloadermiddleware/cookies.py+scrapy/contrib/downloadermiddleware/ajaxcrawl.py+scrapy/contrib/statsmailer.py+scrapy/contrib/memusage.py+scrapy/contrib/feedexport.py+scrapy/commands/deploy.py+scrapy/commands/bench.py+scrapy/telnet.py+scrapy/mail.pydiff --git a/tox.ini b/tox.iniindex 5e57a6ed6..20d54b658 100644--- a/tox.ini+++ b/tox.ini@@ -47,18 +47,15 @@ deps =cssselect>=0.9queuelib>=1.1.1w3lib>=1.5+ Pillow# tests requirementsmockpytest>=2.6.0pytest-twisted-commands =- py.test {posargs:tests}[testenv:py34]basepython = python3.4deps = {[testenv:py33]deps}-commands =- py.test {posargs:tests}[testenv:docs]changedir = docs