's.close() after ctx.destroy() should be fine'

def test_close_after_destroy(self):

    ctx = self.Context()
    s = ctx.socket(zmq.REP)
    ctx.destroy()
    time.sleep(0.01)
    s.close()
    self.assertTrue(s.closed)
