mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Merge fix for #11490 from 3.2.
This commit is contained in:
commit
dcd79a2d15
2 changed files with 5 additions and 1 deletions
|
@ -587,7 +587,8 @@ class ProcessTestCase(BaseTestCase):
|
|||
subprocess.Popen(['nonexisting_i_hope'],
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE)
|
||||
if c.exception.errno != errno.ENOENT: # ignore "no such file"
|
||||
# ignore errors that indicate the command was not found
|
||||
if c.exception.errno not in (errno.ENOENT, errno.EACCES):
|
||||
raise c.exception
|
||||
|
||||
def test_issue8780(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue