'C{errno.EPERM} should be translated to L{ftp.PermissionDeniedError}.'

def test_permissionDenied(self):

    d = ftp.errnoToFailure(errno.EPERM, 'foo')
    return self.assertFailure(d, ftp.PermissionDeniedError)
