cpython: 39be1514c16c (original) (raw)
Mercurial > cpython
changeset 81075:39be1514c16c 3.2
fix test for subprocess (#16644) [#16644]
Andrew Svetlov andrew.svetlov@gmail.com | |
---|---|
date | Wed, 26 Dec 2012 23:31:45 +0200 |
parents | 3801ee5d5d73 |
children | 5d172190c37c 62f67a52b0c2 |
files | Lib/test/test_subprocess.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-)[+] [-] Lib/test/test_subprocess.py 3 |
line wrap: on
line diff
--- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -2023,8 +2023,7 @@ class ContextManagerTests(BaseTestCase): stderr=subprocess.PIPE) as proc: pass
if c.exception.errno != errno.ENOENT: # ignore "no such file"[](#l1.7)
raise c.exception[](#l1.8)
self.assertEqual(c.exception.errno, errno.ENOENT)[](#l1.9)