We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 926ce43 commit 2b37f9bCopy full SHA for 2b37f9b
pythonFiles/tests/pytestadapter/helpers.py
@@ -107,11 +107,14 @@ def runner(args: List[str]) -> Optional[Dict[str, Any]]:
107
_, port = listener.getsockname()
108
listener.listen()
109
110
- env = {
111
- "TEST_UUID": str(uuid.uuid4()),
112
- "TEST_PORT": str(port),
113
- "PYTHONPATH": os.fspath(pathlib.Path(__file__).parent.parent.parent),
114
- }
+ env = os.environ.copy()
+ env.update(
+ {
+ "TEST_UUID": str(uuid.uuid4()),
+ "TEST_PORT": str(port),
115
+ "PYTHONPATH": os.fspath(pathlib.Path(__file__).parent.parent.parent),
116
+ }
117
+ )
118
119
result: list = []
120
t1: threading.Thread = threading.Thread(
0 commit comments