From fcc5224904648a8e6eb528d7603154160a20022f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 2 Feb 2022 01:39:05 +0000 Subject: gentoo resync : 02.02.2022 --- .../files/22.5.3-Use-mock-from-unittest.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 app-shells/autojump/files/22.5.3-Use-mock-from-unittest.patch (limited to 'app-shells/autojump/files') diff --git a/app-shells/autojump/files/22.5.3-Use-mock-from-unittest.patch b/app-shells/autojump/files/22.5.3-Use-mock-from-unittest.patch new file mode 100644 index 000000000000..942d19c838e0 --- /dev/null +++ b/app-shells/autojump/files/22.5.3-Use-mock-from-unittest.patch @@ -0,0 +1,27 @@ +https://github.com/wting/autojump/pull/648 + +From b935baa9ab73305e0c8e3d733f40cc8567740020 Mon Sep 17 00:00:00 2001 +From: Matt Turner +Date: Thu, 27 Jan 2022 12:11:33 -0800 +Subject: [PATCH] Use mock from unittest + +--- + tests/unit/autojump_utils_test.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +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 +-- +2.34.1 + -- cgit v1.2.3