Reapplied skip logic for test on Windows, which appears to have been lost during a merge.

This commit is contained in:
Vinay Sajip 2012-05-29 22:48:10 +01:00
parent c1f0b53875
commit 5e86eed33e

View file

@ -582,6 +582,7 @@ class HandlerTest(BaseTest):
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.