void-packages/srcpkgs/python3-cli_helpers/patches/use-python3-mock-on-tests.p...

14 lines
341 B
Diff

diff --git tests/test_config.py tests/test_config.py
index 3cbe211..4d2bc77 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -4,7 +4,7 @@
from __future__ import unicode_literals
import os
-from mock import MagicMock
+from unittest.mock import MagicMock
import pytest
from cli_helpers.compat import MAC, text_type, WIN