mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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:
parent
9f983e00ec
commit
872c0714fc
24 changed files with 97 additions and 81 deletions
|
@ -129,8 +129,8 @@ class TestFcntl(unittest.TestCase):
|
|||
fcntl.fcntl(BadFile(INT_MIN - 1), fcntl.F_SETFL, os.O_NONBLOCK)
|
||||
|
||||
@unittest.skipIf(
|
||||
any(platform.machine().startswith(name) for name in {"arm", "aarch"})
|
||||
and platform.system() in {"Linux", "Android"},
|
||||
platform.machine().startswith(("arm", "aarch"))
|
||||
and platform.system() in ("Linux", "Android"),
|
||||
"ARM Linux returns EINVAL for F_NOTIFY DN_MULTISHOT")
|
||||
def test_fcntl_64_bit(self):
|
||||
# Issue #1309352: fcntl shouldn't fail when the third arg fits in a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue