Skip to content

Commit 1d6abdc

Browse files
committed
Run the tests in test_tree on Windows
This stops skipping them, as they are now working.
1 parent 8704d1b commit 1d6abdc

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

Diff for: test/test_tree.py

-18
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,14 @@
55
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
from io import BytesIO
8-
from unittest import skipIf
98

109
from git.objects import Tree, Blob
1110
from test.lib import TestBase
12-
from git.util import HIDE_WINDOWS_KNOWN_ERRORS
1311

1412
import os.path as osp
1513

1614

1715
class TestTree(TestBase):
18-
@skipIf(
19-
HIDE_WINDOWS_KNOWN_ERRORS,
20-
"""
21-
File "C:\\projects\\gitpython\\git\\cmd.py", line 559, in execute
22-
raise GitCommandNotFound(command, err)
23-
git.exc.GitCommandNotFound: Cmd('git') not found due to: OSError('[WinError 6] The handle is invalid')
24-
cmdline: git cat-file --batch-check""",
25-
)
2616
def test_serializable(self):
2717
# tree at the given commit contains a submodule as well
2818
roottree = self.rorepo.tree("6c1faef799095f3990e9970bc2cb10aa0221cf9c")
@@ -51,14 +41,6 @@ def test_serializable(self):
5141
testtree._deserialize(stream)
5242
# END for each item in tree
5343

54-
@skipIf(
55-
HIDE_WINDOWS_KNOWN_ERRORS,
56-
"""
57-
File "C:\\projects\\gitpython\\git\\cmd.py", line 559, in execute
58-
raise GitCommandNotFound(command, err)
59-
git.exc.GitCommandNotFound: Cmd('git') not found due to: OSError('[WinError 6] The handle is invalid')
60-
cmdline: git cat-file --batch-check""",
61-
)
6244
def test_traverse(self):
6345
root = self.rorepo.tree("0.1.6")
6446
num_recursive = 0

0 commit comments

Comments
 (0)