Skip to content

Commit 8c3f483

Browse files
committed
script: Style and readability improvementst to windows_build_wheels
Suggested-by: Jean-Christophe Fillion-Robin <[email protected]>
1 parent 6313d06 commit 8c3f483

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

scripts/windows_build_wheels.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -219,15 +219,18 @@ def fixup_wheels():
219219
fixup_wheel(wheel)
220220

221221

222-
def test_wheels(python_version):
223-
python_executable, \
224-
python_include_dir, \
225-
python_library, \
226-
pip, \
227-
ninja_executable, \
228-
path = venv_paths(python_version)
222+
def test_wheels(python_env):
223+
(
224+
python_executable,
225+
python_include_dir,
226+
python_library,
227+
pip,
228+
ninja_executable,
229+
path
230+
) = venv_paths(python_env)
229231
check_call([pip, 'install', 'itk', '--no-cache-dir', '--no-index',
230232
'-f', 'dist'])
233+
print('Wheel successfully installed.')
231234
check_call([
232235
python_executable,
233236
os.path.join(ROOT_DIR, "docs/code/testDriver.py")

0 commit comments

Comments
 (0)