summaryrefslogtreecommitdiff
path: root/conftest.py
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2015-12-21 00:43:39 +0200
committerAarni Koskela <akx@iki.fi>2015-12-21 10:52:23 +0200
commit9ab038fb0556d20788397a450f52f6cd6e94b6c7 (patch)
tree842cd145c140cb82d56ec6679049aee77de4c459 /conftest.py
parentcc02cd1e936d632897ca4df3bef2adb4b1cd50c0 (diff)
downloadbabel-9ab038fb0556d20788397a450f52f6cd6e94b6c7.tar.gz
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
Diffstat (limited to 'conftest.py')
-rw-r--r--conftest.py2
1 files changed, 1 insertions, 1 deletions
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):