'The IOLoop examines exceptions from awaitables and logs them.'

@skipBefore35
def test_exception_logging_native_coro(self):

    namespace = exec_test(globals(), locals(), '\n                                async    def    callback():\n                                                self.io_loop.add_callback(self.stop)\n                                                1    /    0\n                                ')
    with NullContext():
        self.io_loop.add_callback(namespace['callback'])
        with ExpectLog(app_log, 'Exception    in    callback'):
            self.wait()
