mirror of
https://github.com/powerline/powerline.git
synced 2025-04-08 19:25:04 +02:00
Also catch INotifyError when testing tree watcher
This commit is contained in:
parent
b596643a34
commit
92b75aa951
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user