From 909ee3b9fe308f99c98ad3cc56f0c608e71fdee7 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 16 Feb 2020 15:01:49 -0600 Subject: Remove outdated checks for unittest.mock existence --- git/test/test_git.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'git/test/test_git.py') diff --git a/git/test/test_git.py b/git/test/test_git.py index a3ba548d..965d7f39 100644 --- a/git/test/test_git.py +++ b/git/test/test_git.py @@ -8,6 +8,7 @@ import os import subprocess import sys from tempfile import TemporaryFile +from unittest import mock from git import ( Git, @@ -32,12 +33,6 @@ from git.util import finalize_process import os.path as osp - -try: - from unittest import mock -except ImportError: - import mock - from git.compat import is_win -- cgit v1.2.1