From: Nadeem Vawda Date: Tue, 10 Dec 2013 16:23:00 +0000 (+0100) Subject: Skip test for #19878 on Windows. X-Git-Tag: v2.7.8~209 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=284164b47638e4e71a933ce136a33fdd352f7bac;p=python Skip test for #19878 on Windows. --- diff --git a/Lib/test/test_bz2.py b/Lib/test/test_bz2.py index a981d28002..99a687db9c 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.