diff options
author | Nadeem Vawda <nadeem.vawda@gmail.com> | 2013-12-10 16:23:00 (GMT) |
---|---|---|
committer | Nadeem Vawda <nadeem.vawda@gmail.com> | 2013-12-10 16:23:00 (GMT) |
commit | 284164b47638e4e71a933ce136a33fdd352f7bac (patch) | |
tree | 2e99fd80226d7df2856d9766259ff04e04283d3b /Lib/test/test_bz2.py | |
parent | 89c19fd094031a05932076ad01d7cdc25ecf3758 (diff) | |
download | cpython-284164b47638e4e71a933ce136a33fdd352f7bac.zip cpython-284164b47638e4e71a933ce136a33fdd352f7bac.tar.gz cpython-284164b47638e4e71a933ce136a33fdd352f7bac.tar.bz2 |
Skip test for #19878 on Windows.
Diffstat (limited to 'Lib/test/test_bz2.py')
-rw-r--r-- | 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 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. |