commit | 57a1233110ad9eed3c2e687323a161281d1526aa | [log] [tgz] |
---|---|---|
author | Andrew Svetlov <andrew.svetlov@gmail.com> | Wed Dec 26 23:31:45 2012 +0200 |
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | Wed Dec 26 23:31:45 2012 +0200 |
tree | d9d7ba51870b82785fc6164a9ae07185a4f64365 | |
parent | c73f863a8d5718bec54b6697fc156c8b6a30ca7d [diff] [blame] |
fix test for subprocess (#16644)
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index f7a7b11..75eb852 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py
@@ -2023,8 +2023,7 @@ stderr=subprocess.PIPE) as proc: pass - if c.exception.errno != errno.ENOENT: # ignore "no such file" - raise c.exception + self.assertEqual(c.exception.errno, errno.ENOENT) def test_main():