]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - python3/patches/python-3.2.1-fix-test-subprocess-with-nonreadable-path-dir.patch
perl: Rebuild against libdb
[people/amarx/ipfire-3.x.git] / python3 / patches / python-3.2.1-fix-test-subprocess-with-nonreadable-path-dir.patch
1 diff -up Python-3.2.1/Lib/test/test_subprocess.py.non-readable-path Python-3.2.1/Lib/test/test_subprocess.py
2 --- Python-3.2.1/Lib/test/test_subprocess.py.non-readable-path 2011-07-09 02:58:51.000000000 -0400
3 +++ Python-3.2.1/Lib/test/test_subprocess.py 2011-07-11 11:34:16.284426005 -0400
4 @@ -618,7 +618,7 @@ class ProcessTestCase(BaseTestCase):
5 for i in range(1024):
6 # Windows raises IOError. Others raise OSError.
7 with self.assertRaises(EnvironmentError) as c:
8 - subprocess.Popen(['nonexisting_i_hope'],
9 + subprocess.Popen(['/usr/bin/nonexisting_i_hope'],
10 stdout=subprocess.PIPE,
11 stderr=subprocess.PIPE)
12 # ignore errors that indicate the command was not found