summaryrefslogtreecommitdiff
path: root/oslo_utils/tests/test_excutils.py
diff options
context:
space:
mode:
authorSean McGinnis <sean.mcginnis@gmail.com>2020-03-31 14:04:15 -0500
committerSean McGinnis <sean.mcginnis@gmail.com>2020-03-31 14:39:24 -0500
commit2163443d8abde9f550bf5d6681889bcdfc088757 (patch)
treeccb098c12509de3eb9e4196a43663b9b065de07f /oslo_utils/tests/test_excutils.py
parent8433aba4d6b5925fa8fb223d51a816ff541f1f2f (diff)
downloadoslo-utils-2163443d8abde9f550bf5d6681889bcdfc088757.tar.gz
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library unittest.mock module instead of the third party mock lib. Change-Id: I4c5451afece8dfff30aa1ec4c7e0d5eb277043fd Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Diffstat (limited to 'oslo_utils/tests/test_excutils.py')
-rw-r--r--oslo_utils/tests/test_excutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_utils/tests/test_excutils.py b/oslo_utils/tests/test_excutils.py
index 204791f..011d016 100644
--- a/oslo_utils/tests/test_excutils.py
+++ b/oslo_utils/tests/test_excutils.py
@@ -13,9 +13,9 @@
# under the License.
import logging
+from unittest import mock
import fixtures
-import mock
from oslotest import base as test_base
from oslo_utils import excutils