aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_asyncio
diff options
context:
space:
mode:
authorMalcolm Smith <smith@chaquo.com>2024-03-11 19:25:39 +0000
committerGitHub <noreply@github.com>2024-03-11 19:25:39 +0000
commit872c0714fcdc168ce4a69bdd0346f2d5dd488ec2 (patch)
tree84934c17e5561cc36d337d83b436fcc5bb40fd88 /Lib/test/test_asyncio
parent9f983e00ec55b87a098a4c8229fe5bb9acb9f3ac (diff)
downloadcpython-872c0714fcdc168ce4a69bdd0346f2d5dd488ec2.tar.gz
cpython-872c0714fcdc168ce4a69bdd0346f2d5dd488ec2.zip
gh-71052: Change Android's `sys.platform` from "linux" to "android"
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Diffstat (limited to 'Lib/test/test_asyncio')
-rw-r--r--Lib/test/test_asyncio/test_subprocess.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py
index 890c0acc172..cf1a1985338 100644
--- a/Lib/test/test_asyncio/test_subprocess.py
+++ b/Lib/test/test_asyncio/test_subprocess.py
@@ -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):