mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Tests: fix Alembic export test on Windows
Convert all `subprocess.run()` arguments to string, to prevent breaking "does this argument need quoting" checks on Windows.
This commit is contained in:
parent
c6a99e021a
commit
ac41215f07
1 changed files with 3 additions and 1 deletions
|
|
@ -67,7 +67,9 @@ class AbstractAlembicTest(AbstractBlenderRunnerTest):
|
|||
"""
|
||||
|
||||
command = (self.alembic_root / 'bin' / 'abcls', *arguments)
|
||||
proc = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
|
||||
# Convert Path to str; Path works fine on Linux, but not on Windows.
|
||||
command_str = [str(arg) for arg in command]
|
||||
proc = subprocess.run(command_str, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
|
||||
timeout=30)
|
||||
|
||||
coloured_output = proc.stdout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue