Closed adamlukomski closed 3 years ago
The issue comes from the way you are coding the tests. Pykron class is intended to be a singleton and the close method has to be called just once at the end of the main thread. Having new_event_loop is not a clean way to fix this issue.
Fixes tests - new_event_loop( ) instead of get_event_loop( ) allows for Pykron instance restarts. Also fixed returning values for wait_for_completed and future object.