summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_mmap.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-10-06 05:09:31 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-10-06 05:09:31 (GMT)
commit4c8b2cd12650a05d87f3cef7f457bfddaf79c0e0 (patch)
tree64ddfd8357b43b9caca2f5c2c9ff79c91c9150b6 /Lib/test/test_mmap.py
parentcf0b9da988cb096188e81c3687af3a751087d7e9 (diff)
downloadcpython-4c8b2cd12650a05d87f3cef7f457bfddaf79c0e0.zip
cpython-4c8b2cd12650a05d87f3cef7f457bfddaf79c0e0.tar.gz
cpython-4c8b2cd12650a05d87f3cef7f457bfddaf79c0e0.tar.bz2
skip test on windows
Diffstat (limited to 'Lib/test/test_mmap.py')
-rw-r--r--Lib/test/test_mmap.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py
index c5577aa..f3f70cc 100644
--- a/Lib/test/test_mmap.py
+++ b/Lib/test/test_mmap.py
@@ -713,6 +713,7 @@ class MmapTests(unittest.TestCase):
gc_collect()
self.assertIs(wr(), None)
+ @unittest.skipIf(os.name == 'nt', 'cannot resize anonymous mmaps on Windows')
def test_resize_past_pos(self):
m = mmap.mmap(-1, 8192)
self.addCleanup(m.close)