def METHOD_NAME(self):
    for invalid_timeout in [-1]:
        try:
            rfd, wfd, xfd = select.select([], [], [], invalid_timeout)
        except (ValueError, select.error):
            pass
        else:
            self.fail("Invalid timeout value '%s' should have raised ValueError or select.error" % invalid_timeout)