Alex Willmer
|
e36bbde9ac
|
tests: Replace uses of assertTrue() with specific methods
|
2022-07-17 13:44:05 +01:00 |
Alex Willmer
|
18c89de5a9
|
Remove unused module imports
|
2022-04-23 10:01:06 +01:00 |
Alex Willmer
|
caa20be43e
|
tests: Use TestCase.assertEqual()
assertEquals() is deperecated in unittest
|
2022-04-21 19:23:43 +01:00 |
Alex Willmer
|
a8317c2393
|
tests: Remove unittest2, use stdlib unittest
unittest2 is incomplatible with Python 3.10
|
2022-04-20 17:54:12 +01:00 |
David Wilson
|
57012e0f72
|
Add mitogen.core.now() and use it everywhere; closes #614.
|
2019-08-10 17:36:10 +01:00 |
David Wilson
|
9c0cb44ee9
|
issue #170: replace Timer.cancelled with Timer.active
It's more flexable: False can represent 'cancelled' or 'expired',
whereas setting cancelled=True for an expired timer didn't feel right.
|
2019-08-07 19:58:01 +01:00 |
David Wilson
|
70ff4b674c
|
parent: discard cancelled events in TimerList.get_timeout().
Otherwise get_timeout() keeps broker alive via keep_alive() for a
cancelled timer during shutdown.
|
2019-07-22 18:30:51 +01:00 |
David Wilson
|
2fbc77a155
|
issue #170: implement timers.
|
2019-07-22 18:30:50 +01:00 |