diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-11-20 18:07:52 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-11-20 18:07:52 (GMT) |
commit | 5f780400572508a8179de6a6c13b58b7be417ef5 (patch) | |
tree | ed232d267f7aedd0d5bbce754db1d5e8c6056afd /Lib/test | |
parent | c610e3e55e650f58551edf811ab8a848689f70fe (diff) | |
download | cpython-5f780400572508a8179de6a6c13b58b7be417ef5.zip cpython-5f780400572508a8179de6a6c13b58b7be417ef5.tar.gz cpython-5f780400572508a8179de6a6c13b58b7be417ef5.tar.bz2 |
add filename to ENOENT message #4925
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_subprocess.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ class POSIXProcessTestCase(BaseTestCase): # 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) |