Skip to content

Commit

Permalink
BF: drop .bat suffix for finding scripts
Browse files Browse the repository at this point in the history
No longer needed for entrypoints.
  • Loading branch information
matthew-brett committed Feb 24, 2021
1 parent 41af5bd commit 3abf4be
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions nipy/tests/scriptrunner.py
Expand Up @@ -128,9 +128,6 @@ def run_command(self, cmd, check_code=True):
# the script through the Python interpreter
cmd = [sys.executable,
pjoin(self.local_script_dir, cmd[0])] + cmd[1:]
elif os.name == 'nt':
# Need .bat file extension for windows
cmd[0] += '.bat'
if os.name == 'nt':
# Quote any arguments with spaces. The quotes delimit the arguments
# on Windows, and the arguments might be files paths with spaces.
Expand Down

0 comments on commit 3abf4be

Please sign in to comment.