'Verify that when L{lockfile.kill} does end up as None (e.g. on Windows
without pywin32), it doesn\'t end up being called and raising a
L{TypeError}.'

def test_noKillCall(self):

    self.patch(lockfile, 'kill', None)
    fl = lockfile.FilesystemLock(self.mktemp())
    fl.lock()
    self.assertFalse(fl.lock())
