(original) (raw)
changeset: 81075:39be1514c16c branch: 3.2 parent: 81070:3801ee5d5d73 user: Andrew Svetlov andrew.svetlov@gmail.com date: Wed Dec 26 23:31:45 2012 +0200 files: Lib/test/test_subprocess.py description: fix test for subprocess (#16644) diff -r 3801ee5d5d73 -r 39be1514c16c Lib/test/test_subprocess.py --- a/Lib/test/test_subprocess.py Wed Dec 26 16:47:03 2012 +0100 +++ b/Lib/test/test_subprocess.py Wed Dec 26 23:31:45 2012 +0200 @@ -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(): /andrew.svetlov@gmail.com