torsava / rpms / python3

Forked from rpms/python3 2 years ago
Clone
cce760
diff -up Python-3.2.1/Lib/test/test_subprocess.py.non-readable-path Python-3.2.1/Lib/test/test_subprocess.py
cce760
--- Python-3.2.1/Lib/test/test_subprocess.py.non-readable-path	2011-07-09 02:58:51.000000000 -0400
cce760
+++ Python-3.2.1/Lib/test/test_subprocess.py	2011-07-11 11:34:16.284426005 -0400
cce760
@@ -618,7 +618,7 @@ class ProcessTestCase(BaseTestCase):
c23ee7
         for i in range(1024):
c23ee7
             # Windows raises IOError.  Others raise OSError.
c23ee7
             with self.assertRaises(EnvironmentError) as c:
c23ee7
-                subprocess.Popen(['nonexisting_i_hope'],
c23ee7
+                subprocess.Popen(['/usr/bin/nonexisting_i_hope'],
c23ee7
                                  stdout=subprocess.PIPE,
c23ee7
                                  stderr=subprocess.PIPE)
cce760
             # ignore errors that indicate the command was not found