From: Vinay Sajip Date: Thu, 31 May 2012 11:37:04 +0000 (+0100) Subject: Added test skip under Windows, as not applicable there. X-Git-Tag: v3.3.0b1~338^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d70be9ba1f1ddb332f039491a50ac9190d3adfc4;p=thirdparty%2FPython%2Fcpython.git Added test skip under Windows, as not applicable there. --- diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 16b3fb6ce021..2d264f8da91c 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -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.