diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2023-01-10 13:33:06 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2023-01-10 13:43:49 -0500 |
commit | c9d473b05a1cdcd9d04185ee4fb4b86e1e5f08e3 (patch) | |
tree | 28ff1821f25039d20a2a3e373a0882cc47f30e61 /tests/test_venv.py | |
parent | b893cb31f43a9b598990c462cfaa2c8c66779153 (diff) | |
download | python-coveragepy-git-c9d473b05a1cdcd9d04185ee4fb4b86e1e5f08e3.tar.gz |
mypy: install pytest alongside mypy to get its types
Diffstat (limited to 'tests/test_venv.py')
-rw-r--r-- | tests/test_venv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_venv.py b/tests/test_venv.py index eb4ed5c0..de7ebbe1 100644 --- a/tests/test_venv.py +++ b/tests/test_venv.py @@ -48,7 +48,7 @@ def venv_world_fixture(tmp_path_factory: pytest.TempPathFactory) -> Path: Returns the directory containing the "venv" virtualenv. """ - venv_world = cast(Path, tmp_path_factory.mktemp("venv_world")) + venv_world = tmp_path_factory.mktemp("venv_world") with change_dir(venv_world): # Create a virtualenv. run_command("python -m venv venv") |