[Python-checkins] cpython (2.7): skip test on windows

benjamin.peterson python-checkins at python.org
Thu Oct 6 01:09:37 EDT 2016


https://hg.python.org/cpython/rev/6f62106f7045
changeset:   104320:6f62106f7045
branch:      2.7
user:        Benjamin Peterson <benjamin at python.org>
date:        Wed Oct 05 22:09:31 2016 -0700
summary:
  skip test on windows

files:
  Lib/test/test_mmap.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py
--- a/Lib/test/test_mmap.py
+++ b/Lib/test/test_mmap.py
@@ -652,6 +652,7 @@
         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)

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list