diff options
| author | Malcolm Smith <smith@chaquo.com> | 2024-03-11 19:25:39 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-11 19:25:39 (GMT) |
| commit | 872c0714fcdc168ce4a69bdd0346f2d5dd488ec2 (patch) | |
| tree | 84934c17e5561cc36d337d83b436fcc5bb40fd88 /Lib/test/test_tarfile.py | |
| parent | 9f983e00ec55b87a098a4c8229fe5bb9acb9f3ac (diff) | |
| download | cpython-872c0714fcdc168ce4a69bdd0346f2d5dd488ec2.zip cpython-872c0714fcdc168ce4a69bdd0346f2d5dd488ec2.tar.gz cpython-872c0714fcdc168ce4a69bdd0346f2d5dd488ec2.tar.bz2 | |
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_tarfile.py')
| -rw-r--r-- | Lib/test/test_tarfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py index a047780..39541fa 100644 --- a/Lib/test/test_tarfile.py +++ b/Lib/test/test_tarfile.py @@ -1186,7 +1186,7 @@ class GNUReadTest(LongnameTest, ReadTest, unittest.TestCase): # # The function returns False if page size is larger than 4 KiB. # For example, ppc64 uses pages of 64 KiB. - if sys.platform.startswith("linux"): + if sys.platform.startswith(("linux", "android")): # Linux evidentially has 512 byte st_blocks units. name = os.path.join(TEMPDIR, "sparse-test") with open(name, "wb") as fobj: |
