Skip to content

Commit 6f4ed24

Browse files
committed
feat(github-action): fix unit-test windows platform issue, WindowsPath convert to str
1 parent 0b5770d commit 6f4ed24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __init__(self, env_dir, pyconcrete_ext=None, install_mode='exe', install_cli
4040
self.create()
4141

4242
def create(self):
43-
subprocess.check_call([sys.executable, '-m', 'virtualenv', self.env_dir])
43+
subprocess.check_call([sys.executable, '-m', 'virtualenv', str(self.env_dir)])
4444
if platform.system() == 'Windows':
4545
self.bin_dir = join(self.env_dir, 'Scripts')
4646
else:

0 commit comments

Comments
 (0)