mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
Fix test assertion with environment when using pyenv (#5765)
This commit is contained in:
@@ -2,6 +2,7 @@ import os
|
||||
|
||||
from dvc.fs.hdfs import _hadoop_fs_checksum
|
||||
from dvc.path_info import URLInfo
|
||||
from dvc.utils import fix_env
|
||||
|
||||
|
||||
def test_hadoop_fs_checksum(mocker):
|
||||
@@ -22,7 +23,7 @@ def test_hadoop_fs_checksum(mocker):
|
||||
shell=True,
|
||||
close_fds=os.name != "nt",
|
||||
executable=os.getenv("SHELL") if os.name != "nt" else None,
|
||||
env=os.environ,
|
||||
env=fix_env(os.environ),
|
||||
stdin=-1,
|
||||
stdout=-1,
|
||||
stderr=-1,
|
||||
|
||||
Reference in New Issue
Block a user