◐ Shell
clean mode source ↗

Message 351745 - Python tracker

-1

I think mocking should be kept orthogonal to the unittest module.  A person is free to use mocking with different testing tools like py.test or nose.  Likewise, they are free to use a different mocking/patching tool than our standard library mock.

In my mind, they are separate tools that should remain loosely coupled and should not cross-import one another.