'If C{inotify_init} returns a negative number, L{init} raises
L{INotifyError}.'

def test_failedInit(self):

    class libc:
        def inotify_init(self):
            return (-1)
    self.patch(_inotify, 'libc', libc())
    self.assertRaises(INotifyError, init)
