'make sure Poller.poll timeout has the right units (milliseconds).'

def test_timeout(self):

    (s1, s2) = self.create_bound_pair(zmq.PAIR, zmq.PAIR)
    poller = self.Poller()
    poller.register(s1, zmq.POLLIN)
    tic = time.time()
    evt = poller.poll(0.005)
    toc = time.time()
    self.assertTrue(((toc - tic) < 0.1))
    tic = time.time()
    evt = poller.poll(5)
    toc = time.time()
    self.assertTrue(((toc - tic) < 0.1))
    self.assertTrue(((toc - tic) > 0.001))
    tic = time.time()
    evt = poller.poll(500)
    toc = time.time()
    self.assertTrue(((toc - tic) < 1))
    self.assertTrue(((toc - tic) > 0.1))
