summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-11-20 18:07:52 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-11-20 18:07:52 (GMT)
commit5f780400572508a8179de6a6c13b58b7be417ef5 (patch)
treeed232d267f7aedd0d5bbce754db1d5e8c6056afd /Lib/test
parentc610e3e55e650f58551edf811ab8a848689f70fe (diff)
downloadcpython-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.py1
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)