[Python-checkins] cpython: Reapplied skip logic for test on Windows, which appears to have been lost

vinay.sajip python-checkins at python.org
Tue May 29 23:48:20 CEST 2012


http://hg.python.org/cpython/rev/4dd878993b88
changeset:   77237:4dd878993b88
user:        Vinay Sajip <vinay_sajip at yahoo.co.uk>
date:        Tue May 29 22:48:10 2012 +0100
summary:
  Reapplied skip logic for test on Windows, which appears to have been lost during a merge.

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
@@ -582,6 +582,7 @@
         self.assertFalse(h.shouldFlush(r))
         h.close()
 
+    @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