void-packages/srcpkgs/python3-cli_helpers/patches/use-python3-mock-on-tests.patch
Aluísio Augusto Silva Gonçalves 56b5efeed4 New package: python3-cli_helpers-1.2.0
2019-04-16 17:08:39 -03:00

13 lines
337 B
Diff

diff --git tests/test_config.py tests/test_config.py
index 3cbe211..4d2bc77 100644
--- tests/test_config.py
+++ 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