File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -133,17 +133,17 @@ def test_normalize_cmd_PATH():
133133
134134
135135def test_normalize_cmd_shebang (in_tmpdir ):
136- echo = _echo_exe () .replace (os .sep , '/' )
137- path = write_executable (echo )
138- assert parse_shebang .normalize_cmd ((path ,)) == (echo , path )
136+ us = sys . executable .replace (os .sep , '/' )
137+ path = write_executable (us )
138+ assert parse_shebang .normalize_cmd ((path ,)) == (us , path )
139139
140140
141141def test_normalize_cmd_PATH_shebang_full_path (in_tmpdir ):
142- echo = _echo_exe () .replace (os .sep , '/' )
143- path = write_executable (echo )
142+ us = sys . executable .replace (os .sep , '/' )
143+ path = write_executable (us )
144144 with bin_on_path ():
145145 ret = parse_shebang .normalize_cmd (('run' ,))
146- assert ret == (echo , os .path .abspath (path ))
146+ assert ret == (us , os .path .abspath (path ))
147147
148148
149149def test_normalize_cmd_PATH_shebang_PATH (in_tmpdir ):
You can’t perform that action at this time.
0 commit comments