mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-55258: Skip tests of stdout status on mobile platforms (#140401)
Skip tests of stdout status on mobile platforms.
This commit is contained in:
parent
a8edca62fc
commit
29b38b7aae
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue