From b32ccbb66bb16965ecb8b4e266c4e45186636c1b Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 29 Sep 2023 11:04:49 -0400 Subject: cleanup: Update codebase to expect Python 3.6 - Bump minimum version to Python 3.6. - Use f-strings in a lot of places. Change-Id: I2aa70197230fcec2eff8e7c8eb754f20c08075bb Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/389034 Tested-by: Jason R. Coombs Reviewed-by: Mike Frysinger Commit-Queue: Jason R. Coombs --- tests/test_git_command.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tests/test_git_command.py') diff --git a/tests/test_git_command.py b/tests/test_git_command.py index 7c108ccd..ffee023b 100644 --- a/tests/test_git_command.py +++ b/tests/test_git_command.py @@ -19,12 +19,7 @@ import os import re import subprocess import unittest - - -try: - from unittest import mock -except ImportError: - import mock +from unittest import mock import git_command import wrapper -- cgit v1.2.3-54-g00ecf