summaryrefslogtreecommitdiff
path: root/git/test/test_index.py
diff options
context:
space:
mode:
authorHarmon <Harmon758@gmail.com>2020-02-07 05:56:27 -0600
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-02-08 10:55:50 +0800
commit6aa78cd3b969ede76a1a6e660962e898421d4ed8 (patch)
tree5eb2363fb7d727770da0b00c6a3fc081470cbd06 /git/test/test_index.py
parente633cc009fe3dc8d29503b0d14532dc5e8c44cce (diff)
downloadgitpython-6aa78cd3b969ede76a1a6e660962e898421d4ed8.tar.gz
Remove checks for Python 2 and/or 3
Diffstat (limited to 'git/test/test_index.py')
-rw-r--r--git/test/test_index.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/git/test/test_index.py b/git/test/test_index.py
index 9b8c957e..4a23ceb1 100644
--- a/git/test/test_index.py
+++ b/git/test/test_index.py
@@ -25,7 +25,7 @@ from git import (
GitCommandError,
CheckoutError,
)
-from git.compat import string_types, is_win, PY3
+from git.compat import string_types, is_win
from git.exc import (
HookExecutionError,
InvalidGitRepositoryError
@@ -821,10 +821,6 @@ class TestIndex(TestBase):
asserted = True
assert asserted, "Adding using a filename is not correctly asserted."
- @skipIf(HIDE_WINDOWS_KNOWN_ERRORS and not PY3, r"""
- FIXME: File "C:\projects\gitpython\git\util.py", line 125, in to_native_path_linux
- return path.replace('\\', '/')
- UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)""")
@with_rw_directory
def test_add_utf8P_path(self, rw_dir):
# NOTE: fp is not a Unicode object in python 2 (which is the source of the problem)