gh-71052: Change Android's sys.platform from "linux" to "android"

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
This commit is contained in:
Malcolm Smith 2024-03-11 19:25:39 +00:00 committed by GitHub
parent 9f983e00ec
commit 872c0714fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 97 additions and 81 deletions

View file

@ -480,7 +480,8 @@ class SubprocessMixin:
self.assertEqual(output, None)
self.assertEqual(exitcode, 0)
@unittest.skipIf(sys.platform != 'linux', "Don't have /dev/stdin")
@unittest.skipIf(sys.platform not in ('linux', 'android'),
"Don't have /dev/stdin")
def test_devstdin_input(self):
async def devstdin_input(message):