Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_subprocess.py @ 68433:67f4ef6094ed 3.2
Merge fix for #11490 from 3.1.
| author | R David Murray <rdmurray@bitdance.com> |
|---|---|
| date | Sun, 13 Mar 2011 22:26:53 -0400 |
| parents | 3c9232a684ae 2b75ac7c9c12 |
| children | f65aad1226b7 cdfdc99d21d3 |
line wrap: on
line diff
--- a/Lib/test/test_subprocess.py Sun Mar 13 23:28:28 2011 +0100 +++ b/Lib/test/test_subprocess.py Sun Mar 13 22:26:53 2011 -0400 @@ -587,7 +587,8 @@ 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):
