From 6aa78cd3b969ede76a1a6e660962e898421d4ed8 Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 7 Feb 2020 05:56:27 -0600 Subject: Remove checks for Python 2 and/or 3 --- git/test/test_repo.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'git/test/test_repo.py') diff --git a/git/test/test_repo.py b/git/test/test_repo.py index ef28c74e..2d38f150 100644 --- a/git/test/test_repo.py +++ b/git/test/test_repo.py @@ -37,7 +37,6 @@ from git import ( GitCommandError ) from git.compat import ( - PY3, is_win, string_types, win_encode, @@ -526,11 +525,6 @@ class TestRepo(TestBase): num_test_untracked += join_path_native(base, utfile) in files self.assertEqual(len(files), num_test_untracked) - if is_win and not PY3 and is_invoking_git: - ## On Windows, shell needed when passing unicode cmd-args. - # - repo_add = fnt.partial(repo_add, shell=True) - untracked_files = [win_encode(f) for f in untracked_files] repo_add(untracked_files) self.assertEqual(len(rwrepo.untracked_files), (num_recently_untracked - len(files))) # end for each run -- cgit v1.2.1