From 806215ad99b801d54f2dc9e062ea40c7def5455a Mon Sep 17 00:00:00 2001 From: David Stainton <dstainton415@gmail.com> Date: Mon, 20 Feb 2017 19:40:23 +0000 Subject: [PATCH] Fix inotify test skipping for windows --- src/allmydata/test/test_inotify.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/allmydata/test/test_inotify.py b/src/allmydata/test/test_inotify.py index f7dcc81a4..ae3de53b1 100644 --- a/src/allmydata/test/test_inotify.py +++ b/src/allmydata/test/test_inotify.py @@ -24,9 +24,8 @@ class INotifyTests(unittest.TestCase): Define all the tests for the basic functionality exposed by L{inotify.INotify}. """ - def skip_if_windows(self): - if runtime.platformType == "win32": - raise unittest.SkipTest("twistd does not fork under windows") + if runtime.platformType == "win32": + skip = "inotify does not yet work on windows" def setUp(self): self.ignore_count = 0 @@ -35,7 +34,6 @@ class INotifyTests(unittest.TestCase): self.inotify = inotify.INotify() self.inotify.startReading() self.addCleanup(self.inotify.stopReading) - self.skip_if_windows() def test_initializationErrors(self): """