diff options
author | Ran Benita <ran@unusedvar.com> | 2020-05-01 14:40:17 +0300 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2020-06-05 11:34:20 +0300 |
commit | 54ad048be7182018e70479bd3d9b88bcb6376c00 (patch) | |
tree | 3681812c6c7e9dd9acd7c27a9b369ee860835e13 /src/_pytest/pytester.py | |
parent | 71dfdca4df6961460653c265026e194fbcaebef2 (diff) | |
download | pytest-54ad048be7182018e70479bd3d9b88bcb6376c00.tar.gz |
Enable check_untyped_defs mypy option for testing/ too
Diffstat (limited to 'src/_pytest/pytester.py')
-rw-r--r-- | src/_pytest/pytester.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_pytest/pytester.py b/src/_pytest/pytester.py index 754ecc10f..8df5992d6 100644 --- a/src/_pytest/pytester.py +++ b/src/_pytest/pytester.py @@ -401,7 +401,7 @@ def _sys_snapshot(): @pytest.fixture -def _config_for_test(): +def _config_for_test() -> Generator[Config, None, None]: from _pytest.config import get_config config = get_config() |