def testEventConstants(self):
        for event_name in ['IN', 'OUT', 'PRI', 'ERR', 'HUP', 'NVAL', ]:
            self.failUnless(hasattr(select, 'POLL%s' % event_name))
dataset/ETHPy150Open babble/babble/include/jython/Lib/test/test_select.py/TestPollClientSocket.testEventConstants/original