pools: add doctest runner at the end
This commit is contained in:
@@ -668,3 +668,7 @@ class CoroutinePool(Pool):
|
||||
while finished < index + 1:
|
||||
yield q.wait()
|
||||
finished += 1
|
||||
|
||||
if __name__=='__main__':
|
||||
import doctest
|
||||
doctest.testmod()
|
||||
|
Reference in New Issue
Block a user