You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Do not fallback when importing "unittest.mock" #68
This way we don't "swallow" the first exception in Python 2 in case something goes wrong when importing mock.
EDIT: Just for the record, the first import mock as mock_module was raising an ImportError but not because mock was missing, one of its dependencies was not installed (it was a frozen application). This made this problem much harder to debug.
Activity