Test doubles for Python.