- do not require pytest-mock for build - added patches fix https://github.com/wting/autojump/pull/648 + autojump-no-mock.patch OBS-URL: https://build.opensuse.org/request/show/972173 OBS-URL: https://build.opensuse.org/package/show/utilities/autojump?expand=0&rev=7
15 lines
351 B
Diff
15 lines
351 B
Diff
diff --git a/tests/unit/autojump_utils_test.py b/tests/unit/autojump_utils_test.py
|
|
index 07f67b3..386b4cd 100644
|
|
--- a/tests/unit/autojump_utils_test.py
|
|
+++ b/tests/unit/autojump_utils_test.py
|
|
@@ -3,7 +3,7 @@
|
|
import os
|
|
import sys
|
|
|
|
-import mock
|
|
+from unittest import mock
|
|
import pytest
|
|
|
|
sys.path.append(os.path.join(os.getcwd(), 'bin')) # noqa
|
|
|