|
5 | 5 | # the BSD License: http://www.opensource.org/licenses/bsd-license.php
|
6 | 6 |
|
7 | 7 | from io import BytesIO
|
8 |
| -import sys |
9 |
| -from unittest.case import skipIf |
10 | 8 |
|
11 | 9 | from git import (
|
12 | 10 | Tree,
|
13 | 11 | Blob
|
14 | 12 | )
|
15 | 13 | from git.test.lib import TestBase
|
16 |
| -from git.util import HIDE_WINDOWS_KNOWN_ERRORS |
17 | 14 |
|
18 | 15 | import os.path as osp
|
19 | 16 |
|
20 | 17 |
|
21 | 18 | class TestTree(TestBase):
|
22 | 19 |
|
23 |
| - @skipIf(HIDE_WINDOWS_KNOWN_ERRORS and sys.version_info[:2] == (3, 5), """ |
24 |
| - File "C:\projects\gitpython\git\cmd.py", line 559, in execute |
25 |
| - raise GitCommandNotFound(command, err) |
26 |
| - git.exc.GitCommandNotFound: Cmd('git') not found due to: OSError('[WinError 6] The handle is invalid') |
27 |
| - cmdline: git cat-file --batch-check""") |
28 | 20 | def test_serializable(self):
|
29 | 21 | # tree at the given commit contains a submodule as well
|
30 | 22 | roottree = self.rorepo.tree('6c1faef799095f3990e9970bc2cb10aa0221cf9c')
|
@@ -53,11 +45,6 @@ def test_serializable(self):
|
53 | 45 | testtree._deserialize(stream)
|
54 | 46 | # END for each item in tree
|
55 | 47 |
|
56 |
| - @skipIf(HIDE_WINDOWS_KNOWN_ERRORS and sys.version_info[:2] == (3, 5), """ |
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 | 48 | def test_traverse(self):
|
62 | 49 | root = self.rorepo.tree('0.1.6')
|
63 | 50 | num_recursive = 0
|
|
0 commit comments