• Kirill Smelkov's avatar
    time: test: Add test for stop on func-based Timer · fb065b64
    Kirill Smelkov authored
    I was working on Timer-related topics and started to suspect that stop
    might become panicking when draining timer channel if func != nil. That
    turned out to be not true - the code is correct as it is, but it
    generally helps to have tests covering questionable functionality.
    
    /proposed-for-review-on !26
    fb065b64
time_test.py 6.46 KB