[Python-checkins] cpython (2.7): Skip test for #19878 on Windows.

nadeem.vawda python-checkins at python.org
Tue Dec 10 17:23:20 CET 2013


http://hg.python.org/cpython/rev/3337298f5c75
changeset:   87886:3337298f5c75
branch:      2.7
parent:      87883:b96a6493cecf
user:        Nadeem Vawda <nadeem.vawda at gmail.com>
date:        Tue Dec 10 17:23:00 2013 +0100
summary:
  Skip test for #19878 on Windows.

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


diff --git a/Lib/test/test_bz2.py b/Lib/test/test_bz2.py
--- a/Lib/test/test_bz2.py
+++ b/Lib/test/test_bz2.py
@@ -325,6 +325,9 @@
             self.assertRaises(ValueError, f.readline)
             self.assertRaises(ValueError, f.readlines)
 
+    @unittest.skipIf(sys.platform == 'win32',
+                     'test depends on being able to delete a still-open file,'
+                     ' which is not possible on Windows')
     def testInitNonExistentFile(self):
         # Issue #19878: Should not segfault when __init__ with non-existent
         # file for the second time.

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


More information about the Python-checkins mailing list