Skip to content

Commit 29b38b7

Browse files
authored
gh-55258: Skip tests of stdout status on mobile platforms (#140401)
Skip tests of stdout status on mobile platforms.
1 parent a8edca6 commit 29b38b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_support.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ def test_get_attribute(self):
9696
self.test_get_attribute)
9797
self.assertRaises(unittest.SkipTest, support.get_attribute, self, "foo")
9898

99+
@unittest.skipIf(support.is_android or support.is_apple_mobile,
100+
'Mobile platforms redirect stdout to system log')
99101
def test_get_original_stdout(self):
100102
if isinstance(sys.stdout, io.StringIO):
101103
# gh-55258: When --junit-xml is used, stdout is a StringIO:

0 commit comments

Comments
 (0)