]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added test skip under Windows, as not applicable there.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Thu, 31 May 2012 11:37:04 +0000 (12:37 +0100)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Thu, 31 May 2012 11:37:04 +0000 (12:37 +0100)
Lib/test/test_logging.py

index 16b3fb6ce0216d9ee2c593703553b598a8a635a7..2d264f8da91cece3cb1a372d6ea8069b79e86350 100644 (file)
@@ -2331,6 +2331,7 @@ for when, exp in (('S', 1),
 
 class HandlerTest(BaseTest):
 
+    @unittest.skipIf(os.name == 'nt', 'WatchedFileHandler not appropriate for Windows.')
     @unittest.skipUnless(threading, 'Threading required for this test.')
     def test_race(self):
         # Issue #14632 refers.