(self)
| 116 | sock.close() |
| 117 | |
| 118 | def test_remove_without_add(self): |
| 119 | # remove_handler should not throw an exception if called on an fd |
| 120 | # was never added. |
| 121 | sock, port = bind_unused_port() |
| 122 | try: |
| 123 | self.io_loop.remove_handler(sock.fileno()) |
| 124 | finally: |
| 125 | sock.close() |
| 126 | |
| 127 | def test_add_callback_from_signal(self): |
| 128 | # cheat a little bit and just run this normally, since we can't |
nothing calls this directly
no test coverage detected