mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
@ -511,7 +511,7 @@ class TimeTestCase(unittest.TestCase):
|
|||
|
||||
def test_thread_time(self):
|
||||
if not hasattr(time, 'thread_time'):
|
||||
if sys.platform.startswith(('linux', 'win')):
|
||||
if sys.platform.startswith(('linux', 'android', 'win')):
|
||||
self.fail("time.thread_time() should be available on %r"
|
||||
% (sys.platform,))
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue