vstinner / rpms / python3

Forked from rpms/python3 5 years ago
Clone
b218f78
diff -up Python-3.2.3/Lib/test/test_subprocess.py.test_subprocess Python-3.2.3/Lib/test/test_subprocess.py
b218f78
--- Python-3.2.3/Lib/test/test_subprocess.py.test_subprocess	2012-04-11 02:54:05.000000000 -0400
b218f78
+++ Python-3.2.3/Lib/test/test_subprocess.py	2012-04-11 20:48:38.408612425 -0400
b218f78
@@ -651,7 +651,7 @@ class ProcessTestCase(BaseTestCase):
c23ee7d
         for i in range(1024):
c23ee7d
             # Windows raises IOError.  Others raise OSError.
c23ee7d
             with self.assertRaises(EnvironmentError) as c:
c23ee7d
-                subprocess.Popen(['nonexisting_i_hope'],
c23ee7d
+                subprocess.Popen(['/usr/bin/nonexisting_i_hope'],
c23ee7d
                                  stdout=subprocess.PIPE,
c23ee7d
                                  stderr=subprocess.PIPE)
b218f78
             # ignore errors that indicate the command was not found