Using Python’s namedtuple for mock objects in tests

I have become quite a fan of Python’s built-in namedtuple collection lately. As others have already written, despite having been available in Python 2.x and 3.x for a long time now, namedtuple continues to be under-appreciated and under-utilised by many p… Read more

Similar

Top Python libraries of 2016

Last year, we did a recap with what we thought were the best Python libraries of 2015, which was widely shared within the Python community (see post in r/Python). A year has gone by, and again it is time to give due credit for the awesome work that has be...

Read more »