From 1778f578529c606ce4f8ac14815ff919fb61fd6b Mon Sep 17 00:00:00 2001 From: Jean-Christophe Morin Date: Sat, 27 Jan 2024 16:27:38 -0500 Subject: [PATCH] Fix test_shells after merge Signed-off-by: Jean-Christophe Morin --- src/rez/tests/test_shells.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/rez/tests/test_shells.py b/src/rez/tests/test_shells.py index 77b2fcb62..00d7b2c05 100644 --- a/src/rez/tests/test_shells.py +++ b/src/rez/tests/test_shells.py @@ -13,7 +13,6 @@ from rez.rex import literal, expandable from rez.rex_bindings import VariantBinding from rez.plugin_managers import plugin_manager -from rez.utils import platform_ from rez.utils.execution import ExecutableScriptMode, _get_python_script_files from rez.utils.filesystem import canonical_path from rez.tests.util import TestBase, TempdirMixin, per_available_shell, \ @@ -51,13 +50,7 @@ def setUpClass(cls): packages_path = os.path.join(cls.root, "packages") os.makedirs(packages_path) - # on windows, we need to install both - # executable types of executable scripts, hello_world.py - # for cmd / powershell and hello_world for gitbash - if platform_.name == "windows": - hello_world.bind(packages_path, py_script_mode="both") - else: - hello_world.bind(packages_path) + hello_world.bind(packages_path) cls.settings = dict( packages_path=[packages_path],