summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-04-07 08:26:23 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-04-07 08:26:23 -0400
commitf59c0cdd36cf609b47016ccef2695cdd3acfe03f (patch)
tree181b4006198e6170ef8ea714cecbb6060763a762 /tests/conftest.py
parentb777c96f885b8d91b5339940a31a6a8ec4bfa3f9 (diff)
downloadpython-coveragepy-git-f59c0cdd36cf609b47016ccef2695cdd3acfe03f.tar.gz
Move set_env.py to github.com/nedbat/odds
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index c883ef7b..d0572dca 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -16,6 +16,9 @@ import pytest
from coverage import env
+# Pytest can take additional options:
+# $set_env.py: PYTEST_ADDOPTS - Extra arguments to pytest.
+
@pytest.fixture(autouse=True)
def set_warnings():
"""Enable DeprecationWarnings during all tests."""