File tree Expand file tree Collapse file tree 3 files changed +6
-24
lines changed
Expand file tree Collapse file tree 3 files changed +6
-24
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ pytest-mock = ">=3.10"
4949build = " >=0.10.0"
5050setuptools = " >=60"
5151tomli-w = " ^1.0.0"
52- virtualenv = " >=20.21"
5352trove-classifiers = " >=2022.5.19"
5453
5554[tool .poetry .group .typing .dependencies ]
@@ -127,7 +126,6 @@ exclude = [
127126module = [
128127 ' fastjsonschema.*' ,
129128 ' lark.*' ,
130- ' virtualenv.*' ,
131129]
132130ignore_missing_imports = true
133131
Original file line number Diff line number Diff line change 99from typing import Callable
1010
1111import pytest
12- import virtualenv
1312
1413from poetry .core .factory import Factory
1514from poetry .core .utils ._compat import WINDOWS
@@ -88,21 +87,6 @@ def temporary_directory() -> Iterator[Path]:
8887 yield Path (tmp )
8988
9089
91- @pytest .fixture
92- def venv (temporary_directory : Path ) -> Path :
93- venv_dir = temporary_directory / ".venv"
94- virtualenv .cli_run (
95- [
96- "--no-download" ,
97- "--no-periodic-update" ,
98- "--python" ,
99- sys .executable ,
100- venv_dir .as_posix (),
101- ]
102- )
103- return venv_dir
104-
105-
10690@pytest .fixture
10791def python (venv : Path ) -> str :
10892 return venv .joinpath ("Scripts/Python.exe" if WINDOWS else "bin/python" ).as_posix ()
You can’t perform that action at this time.
0 commit comments