mock has been included in unittest. If we want to use the stdlibs's mocking library, it should be ``from unittest import mock.`` and not ``import mock``
This change has not been backported to python2.7.

``git grep mock`` doesn't seem to pick anything up in master. Has the QT4 keys PR been merged?