From 9ab038fb0556d20788397a450f52f6cd6e94b6c7 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Mon, 21 Dec 2015 00:43:39 +0200 Subject: Test/CI: Add requisite doctest flags; ignore setup.py and venvs This requires a newer version of py.test, so the requirement is pinned in the CI configuration. See https://pytest.org/latest/doctest.html See https://pytest.org/latest/example/pythoncollection.html#customizing-test-collection-to-find-all-py-files --- conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conftest.py') diff --git a/conftest.py b/conftest.py index 55e27a2..15a589a 100644 --- a/conftest.py +++ b/conftest.py @@ -6,7 +6,7 @@ from py.path import local PY2 = sys.version_info[0] < 3 -collect_ignore = ['tests/messages/data'] +collect_ignore = ['tests/messages/data', 'setup.py'] def pytest_collect_file(path, parent): -- cgit v1.2.1