Graceful platform for test doubles in Python
