Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aa78cd commit 913b4adCopy full SHA for 913b4ad
git/test/test_fun.py
@@ -5,7 +5,6 @@
5
from unittest import skipIf, SkipTest
6
7
from git import Git
8
-from git.compat import PY3
9
from git.index import IndexFile
10
from git.index.fun import (
11
aggressive_tree_merge
@@ -282,11 +281,6 @@ def test_linked_worktree_traversal(self, rw_dir):
282
281
statbuf = stat(gitdir)
283
assert_true(statbuf.st_mode & S_IFDIR)
284
285
- @skipIf(PY3, 'odd types returned ... maybe figure it out one day')
286
- def test_tree_entries_from_data_with_failing_name_decode_py2(self):
287
- r = tree_entries_from_data(b'100644 \x9f\0aaa')
288
- assert r == [('aaa', 33188, u'\udc9f')], r
289
-
290
def test_tree_entries_from_data_with_failing_name_decode_py3(self):
291
r = tree_entries_from_data(b'100644 \x9f\0aaa')
292
assert r == [(b'aaa', 33188, '\udc9f')], r
0 commit comments