#NEWLINE# def test_no_events( self ) : #NEWLINE# #INDENT# ( s1 , s2 ) = self . create_bound_pair ( zmqpy . PAIR , zmqpy . PAIR ) #NEWLINE# poller = self . Poller ( ) #NEWLINE# poller . register ( s1 , ( zmqpy . POLLIN | zmqpy . POLLOUT ) ) #NEWLINE# poller . register ( s2 , 0 ) #NEWLINE# self . assertTrue ( ( s1 in poller . sockets ) ) #NEWLINE# self . assertFalse ( ( s2 in poller . sockets ) ) #NEWLINE# poller . register ( s1 , 0 ) #NEWLINE# self . assertFalse ( ( s1 in poller . sockets ) )