14
0
forked from pool/python-hatch
Files
python-hatch/fix-tests.patch
2024-12-11 18:33:50 +00:00

21 lines
653 B
Diff

---
tests/conftest.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -95,11 +95,12 @@ def isolation(uv_on_path) -> Generator[P
'GIT_AUTHOR_EMAIL': 'foo@bar.baz',
'COLUMNS': '80',
'LINES': '24',
+ 'HATCH_ENV_TYPE_VIRTUAL_UV_PATH': '',
}
if PLATFORM.windows:
default_env_vars['COMSPEC'] = 'cmd.exe'
else:
- default_env_vars['SHELL'] = 'sh'
+ default_env_vars['SHELL'] = 'bash'
with d.as_cwd(default_env_vars):
os.environ.pop(AppEnvVars.ENV_ACTIVE, None)