|
5 | 5 | # the BSD License: https://opensource.org/license/bsd-3-clause/ |
6 | 6 |
|
7 | 7 | from io import BytesIO |
8 | | -from unittest import skipIf |
9 | 8 |
|
10 | 9 | from git.objects import Tree, Blob |
11 | 10 | from test.lib import TestBase |
12 | | -from git.util import HIDE_WINDOWS_KNOWN_ERRORS |
13 | 11 |
|
14 | 12 | import os.path as osp |
15 | 13 |
|
16 | 14 |
|
17 | 15 | 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 | | - ) |
26 | 16 | def test_serializable(self): |
27 | 17 | # tree at the given commit contains a submodule as well |
28 | 18 | roottree = self.rorepo.tree("6c1faef799095f3990e9970bc2cb10aa0221cf9c") |
@@ -51,14 +41,6 @@ def test_serializable(self): |
51 | 41 | testtree._deserialize(stream) |
52 | 42 | # END for each item in tree |
53 | 43 |
|
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 | | - ) |
62 | 44 | def test_traverse(self): |
63 | 45 | root = self.rorepo.tree("0.1.6") |
64 | 46 | num_recursive = 0 |
|
0 commit comments