Generalising itertools.pairwise This article teaches you about itertools.pairwise, a function for accessing pairs of components over an iterable. Learn where it is helpful and what its limitations are. RODRIGO GIRÃO SERRÃO
Why Your Mock Breaks Later An overly aggressive mock can work fine, but then break much later. If you don’t mock the right spot in your code you can break other testing libraries. NED BATCHELDER