File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -416,7 +416,8 @@ def test_executable_with_cwd(self):
416416 def test_executable_without_cwd (self ):
417417 # For a normal installation, it should work without 'cwd'
418418 # argument. For test runs in the build directory, see #7774.
419- self ._assert_cwd ('' , "somethingyoudonthave" , executable = sys .executable )
419+ self ._assert_cwd (os .getcwd (), "somethingyoudonthave" ,
420+ executable = sys .executable )
420421
421422 def test_stdin_pipe (self ):
422423 # stdin redirection
Original file line number Diff line number Diff line change @@ -599,6 +599,8 @@ Library
599599Tests
600600-----
601601
602+ - Issue #17046: Fix broken test_executable_without_cwd in test_subprocess.
603+
602604- Issue #15415: Add new temp_dir() and change_cwd() context managers to
603605 test.support, and refactor temp_cwd() to use them. Patch by Chris Jerdonek.
604606
You can’t perform that action at this time.
0 commit comments