https://github.com/python/cpython/commit/29b38b7aae884c14085a918282ea7f0798ed7a2a
commit: 29b38b7aae884c14085a918282ea7f0798ed7a2a
branch: main
author: Russell Keith-Magee <[email protected]>
committer: freakboy3742 <[email protected]>
date: 2025-10-22T07:12:26+08:00
summary:

gh-55258: Skip tests of stdout status on mobile platforms (#140401)

Skip tests of stdout status on mobile platforms.

files:
M Lib/test/test_support.py

diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py
index 92909519636cf3..d69328a6a6ac90 100644
--- a/Lib/test/test_support.py
+++ b/Lib/test/test_support.py
@@ -96,6 +96,8 @@ def test_get_attribute(self):
                         self.test_get_attribute)
         self.assertRaises(unittest.SkipTest, support.get_attribute, self, 
"foo")
 
+    @unittest.skipIf(support.is_android or support.is_apple_mobile,
+                     'Mobile platforms redirect stdout to system log')
     def test_get_original_stdout(self):
         if isinstance(sys.stdout, io.StringIO):
             # gh-55258: When --junit-xml is used, stdout is a StringIO:

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to