Skip to content

Commit 1a97f87

Browse files
Apply suggestions from code review
Co-authored-by: Erlend E. Aasland <[email protected]>
1 parent 20a20c0 commit 1a97f87

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Lib/test/test_os.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3533,8 +3533,8 @@ def test_set_get_priority(self):
35333533
class TestSendfile(unittest.IsolatedAsyncioTestCase):
35343534

35353535
DATA = b"12345abcde" * 16 * 1024 # 160 KiB
3536-
SUPPORT_HEADERS_TRAILERS = \
3537-
not sys.platform.startswith(("linux", "android", "solaris", "sunos"))
3536+
SUPPORT_HEADERS_TRAILERS = (
3537+
not sys.platform.startswith(("linux", "android", "solaris", "sunos")))
35383538
requires_headers_trailers = unittest.skipUnless(SUPPORT_HEADERS_TRAILERS,
35393539
'requires headers and trailers support')
35403540
requires_32b = unittest.skipUnless(sys.maxsize < 2**32,
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Change Android's ``sys.platform`` from "linux" to "android".
1+
Change Android's :data:`sys.platform` from ``"linux"`` to ``"android"``.

0 commit comments

Comments
 (0)