Skip to content

Commit

Permalink
Fix test_shells after merge
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Christophe Morin <jean_christophe_morin@hotmail.com>
  • Loading branch information
JeanChristopheMorinPerso committed Jan 27, 2024
1 parent 25665f5 commit 1778f57
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/rez/tests/test_shells.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, \
Expand Down Expand Up @@ -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],
Expand Down

0 comments on commit 1778f57

Please sign in to comment.