commit | 5f780400572508a8179de6a6c13b58b7be417ef5 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Nov 20 18:07:52 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Nov 20 18:07:52 2010 +0000 |
tree | ed232d267f7aedd0d5bbce754db1d5e8c6056afd | |
parent | c610e3e55e650f58551edf811ab8a848689f70fe [diff] [blame] |
add filename to ENOENT message #4925
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 1a9fb69..f8ecb4d 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py
@@ -666,6 +666,7 @@ # string and instead capture the exception that we want to see # below for comparison. desired_exception = e + desired_exception.strerror += ': ' + repr(sys.executable) else: self.fail("chdir to nonexistant directory %s succeeded." % nonexistent_dir)