]> granicus.if.org Git - python/commitdiff
skip test on windows
authorBenjamin Peterson <benjamin@python.org>
Thu, 6 Oct 2016 05:09:31 +0000 (22:09 -0700)
committerBenjamin Peterson <benjamin@python.org>
Thu, 6 Oct 2016 05:09:31 +0000 (22:09 -0700)
Lib/test/test_mmap.py

index c5577aa9586b5bdd98c4fe288143f717b2960f7b..f3f70cc25119463c05b13683ea88267df1209345 100644 (file)
@@ -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)