]> 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 092c4a16aba72c4cac1bb5d648c397483b874a8b..0350b3de38f20f9144190a6716b8e86cc6d26be9 100644 (file)
@@ -652,6 +652,7 @@ class MmapTests(unittest.TestCase):
         finally:
             s.close()
 
+    @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)