From 284164b47638e4e71a933ce136a33fdd352f7bac Mon Sep 17 00:00:00 2001 From: Nadeem Vawda Date: Tue, 10 Dec 2013 17:23:00 +0100 Subject: Skip test for #19878 on Windows. --- Lib/test/test_bz2.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_bz2.py b/Lib/test/test_bz2.py index a981d28..99a687d 100644 --- a/Lib/test/test_bz2.py +++ b/Lib/test/test_bz2.py @@ -325,6 +325,9 @@ class BZ2FileTest(BaseTest): 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. -- cgit v0.12