Skip to content

Commit a98c6f3

Browse files
committed
WIN: Drop .bat suffix for scripts
1 parent ebeeaf3 commit a98c6f3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

nibabel/tests/scriptrunner.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,6 @@ def run_command(self, cmd, check_code=True):
129129
# the script through the Python interpreter
130130
cmd = [sys.executable,
131131
pjoin(self.local_script_dir, cmd[0])] + cmd[1:]
132-
elif os.name == 'nt':
133-
# Need .bat file extension for windows
134-
cmd[0] += '.bat'
135132
if os.name == 'nt':
136133
# Quote any arguments with spaces. The quotes delimit the arguments
137134
# on Windows, and the arguments might be file paths with spaces.

0 commit comments

Comments
 (0)