File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 55from unittest import skipIf , SkipTest
66
77from git import Git
8- from git .compat import PY3
98from git .index import IndexFile
109from git .index .fun import (
1110 aggressive_tree_merge
@@ -282,11 +281,6 @@ def test_linked_worktree_traversal(self, rw_dir):
282281 statbuf = stat (gitdir )
283282 assert_true (statbuf .st_mode & S_IFDIR )
284283
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 \0 aaa' )
288- assert r == [('aaa' , 33188 , u'\udc9f ' )], r
289-
290284 def test_tree_entries_from_data_with_failing_name_decode_py3 (self ):
291285 r = tree_entries_from_data (b'100644 \x9f \0 aaa' )
292286 assert r == [(b'aaa' , 33188 , '\udc9f ' )], r
You can’t perform that action at this time.
0 commit comments