]> granicus.if.org Git - python/commitdiff
Issue #16115: Skip a newly added subprocess.Popen() test on Linux.
authorChris Jerdonek <chris.jerdonek@gmail.com>
Tue, 9 Oct 2012 00:53:46 +0000 (17:53 -0700)
committerChris Jerdonek <chris.jerdonek@gmail.com>
Tue, 9 Oct 2012 00:53:46 +0000 (17:53 -0700)
Lib/test/test_subprocess.py

index 3dbef13caefe941259866465e0497b3827b237e7..07e2b4b688d1625f3c7b131e1cc79ff98c92ae42 100644 (file)
@@ -200,6 +200,10 @@ class ProcessTestCase(BaseTestCase):
         p.wait()
         self.assertEqual(47, p.returncode)
 
+    # TODO: make this test work on Linux.
+    # This may be failing on Linux because of issue #7774.
+    @unittest.skipIf(sys.platform not in ('win32', 'darwin'),
+                     "possible bug using executable argument on Linux")
     def test_executable(self):
         # Check that the executable argument works.
         self._assert_python(["doesnotexist", "-c"], executable=sys.executable)