diff options
author | Harmon <Harmon758@gmail.com> | 2020-02-07 06:05:28 -0600 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-02-08 10:55:50 +0800 |
commit | 913b4ad21c4a5045700de9491b0f64fab7bd00ca (patch) | |
tree | 8324ff2338dd62a629a786aab09eb880d0bdb9b8 /git | |
parent | 6aa78cd3b969ede76a1a6e660962e898421d4ed8 (diff) | |
download | gitpython-913b4ad21c4a5045700de9491b0f64fab7bd00ca.tar.gz |
Remove Python 2 test
Diffstat (limited to 'git')
-rw-r--r-- | git/test/test_fun.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/git/test/test_fun.py b/git/test/test_fun.py index d5d0dde9..65db06ee 100644 --- a/git/test/test_fun.py +++ b/git/test/test_fun.py @@ -5,7 +5,6 @@ import os.path as osp from unittest import skipIf, SkipTest from git import Git -from git.compat import PY3 from git.index import IndexFile from git.index.fun import ( aggressive_tree_merge @@ -282,11 +281,6 @@ class TestFun(TestBase): statbuf = stat(gitdir) assert_true(statbuf.st_mode & S_IFDIR) - @skipIf(PY3, 'odd types returned ... maybe figure it out one day') - def test_tree_entries_from_data_with_failing_name_decode_py2(self): - r = tree_entries_from_data(b'100644 \x9f\0aaa') - assert r == [('aaa', 33188, u'\udc9f')], r - def test_tree_entries_from_data_with_failing_name_decode_py3(self): r = tree_entries_from_data(b'100644 \x9f\0aaa') assert r == [(b'aaa', 33188, '\udc9f')], r |