def testInvalidTimeoutValues(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)
dataset/ETHPy150Open babble/babble/include/jython/Lib/test/test_select.py/TestSelectInvalidParameters.testInvalidTimeoutValues/original