[Python-checkins] cpython (3.2): Added test skip under Windows, as not applicable there.

vinay.sajip python-checkins at python.org
Thu May 31 13:39:05 CEST 2012


http://hg.python.org/cpython/rev/a0023e779bce
changeset:   77254:a0023e779bce
branch:      3.2
parent:      77240:8ec62c9eea34
user:        Vinay Sajip <vinay_sajip at yahoo.co.uk>
date:        Thu May 31 12:37:04 2012 +0100
summary:
  Added test skip under Windows, as not applicable there.

files:
  Lib/test/test_logging.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -2331,6 +2331,7 @@
 
 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.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list