# Mock

Originally published: 2015-03-26
Canonical URL: /2015/Mar/mock/

Some people, when confronted with a Python unit-testing problem, think, "I know, I'll use [`mock`](https://docs.python.org/3/library/unittest.mock.html)." Now they have `<MagicMock name='two_problems' id='140279267635776'>`.
