Skip to content

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

Support doctest and __init__.py test discover in pytest

Julia Medina560a84657ca4
diff --git a/pytest.ini b/pytest.ini
index b845effc9..8d3bc91a5 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -1,3 +1,5 @@
[pytest]
usefixtures = chdir setlog
+python_files=test_*.py __init__.py
+addopts = --doctest-modules