• Jason Madden's avatar
    Add gevent.util.assert_switches · 56cfd118
    Jason Madden authored
    Based on refactoring existing code in _monitor.py
    
    Flexibly allows checking for any switching, switches that take longer
    than a set amount of time, or switches that exceed a time limit
    between getting back to the hub.
    
    Fixes #1182.
    56cfd118
test___monitor.py 11.4 KB