def METHOD_NAME(self):
    def broken_task():
        raise RuntimeError
    pool = Pool(2)
    try:
        # The pool instantiates with 0 errors.
        assert 0 == pool.error_count
        for i in range(3):
            pool.put(broken_task)
    finally:
        pool.join()
    # The pool maintains a count of its errors.
    assert 3 == pool.error_count