We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 135373c commit f73bbafCopy full SHA for f73bbaf
Lib/test/test_mmap.py
@@ -508,7 +508,7 @@ def test_anonymous(self):
508
m[x] = b
509
self.assertEqual(m[x], b)
510
511
- if sys.platform.startswith('linux'):
+ if sys.platform.startswith(('linux', 'android')):
512
# Can't expand a shared anonymous mapping on Linux.
513
# See https://bugzilla.kernel.org/show_bug.cgi?id=8691
514
with self.assertRaises(ValueError):
@@ -541,7 +541,7 @@ def test_anonymous(self):
541
with self.assertRaises(IndexError):
542
m[PAGESIZE // 2]
543
544
545
# Can't expand to its original size.
546
547
m.resize(PAGESIZE)
0 commit comments