summaryrefslogtreecommitdiff
path: root/git_review
diff options
context:
space:
mode:
authorSteve Kowalik <steven@wedontsleep.org>2022-03-08 16:13:27 +1000
committerSteve Kowalik <steven@wedontsleep.org>2022-03-08 16:13:27 +1000
commit1912e685ffbd93182a32d29219bd19ce49f39c63 (patch)
tree00537c4944488c4026c01f803b8b11dab0296ed9 /git_review
parent25c2d3fe9678bb467952e8203cfc8c40f4a86a87 (diff)
downloadgit-review-1912e685ffbd93182a32d29219bd19ce49f39c63.tar.gz
Switch to unittest.mock
Since mock is a backport of the standard library, and we no longer support Python 2, we can use the standard library, and drop one external dependency. Change-Id: I798c85f1581f4562908c10cd1b58134cdcb40281
Diffstat (limited to 'git_review')
-rw-r--r--git_review/tests/test_unit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git_review/tests/test_unit.py b/git_review/tests/test_unit.py
index 7dc0c0e..1bbdbff 100644
--- a/git_review/tests/test_unit.py
+++ b/git_review/tests/test_unit.py
@@ -21,9 +21,9 @@ import io
import os
import sys
import textwrap
+from unittest import mock
import fixtures
-import mock
import testtools
from git_review import cmd