From 92b75aa951d139b41b4d7bdc085b775e8ab2ab84 Mon Sep 17 00:00:00 2001 From: ZyX Date: Sun, 14 Sep 2014 18:07:28 +0400 Subject: [PATCH] Also catch INotifyError when testing tree watcher --- tests/test_watcher.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_watcher.py b/tests/test_watcher.py index 3622043d..dce37bae 100644 --- a/tests/test_watcher.py +++ b/tests/test_watcher.py @@ -167,6 +167,8 @@ class TestFilesystemWatchers(TestCase): raise SkipTest('No tree watcher available') except UvNotFound: raise SkipTest('Pyuv is not available') + except INotifyError: + raise SkipTest('INotify is not available') self.assertTrue(tw(inotify_dir)) self.assertFalse(tw(inotify_dir)) changed = partial(self.do_test_for_change, tw, inotify_dir)