Public Member Functions | |
def | test_dies_despite_cb |
def | test_event_stream_from_event |
def | test_timeout_autocancel |
def | test_timeout_memory_frees_correctly |
Definition at line 250 of file async_helpers.py.
Test that EventStream gets unallocated despite its callback being held. As without another reference, calling the callback will have no effect.
Definition at line 251 of file async_helpers.py.
Definition at line 292 of file async_helpers.py.
Definition at line 286 of file async_helpers.py.
Had a lot of subtle bugs getting select to free up properly. This test case is what pointed me at them.
Definition at line 267 of file async_helpers.py.