async def METHOD_NAME(self):
    ctx = cuda.current_context()
    module = ctx.create_module_ptx("""
        .version 6.5
        .target sm_30
        .address_size 64
        .visible .entry failing_kernel() { trap; }
    """)
    failing_kernel = module.get_function("failing_kernel")
    stream = cuda.stream()
    failing_kernel.configure((1,), (1,), stream=stream).__call__()
    done = stream.async_done()
    with self.assertRaises(Exception):
        await done
    self.assertIsNotNone(done.exception())