| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 881456b commit c6a586a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,6 @@ | |||
| 12 | 12 | from stat import S_ISLNK, ST_MODE | |
| 13 | 13 | import shutil | |
| 14 | 14 | import tempfile | |
| 15 | - from unittest import skipIf | ||
| 16 | 15 | ||
| 17 | 16 | import pytest | |
| 18 | 17 | ||
@@ -27,16 +26,13 @@ | |||
| 27 | 26 | GitCommandError, | |
| 28 | 27 | CheckoutError, | |
| 29 | 28 | ) | |
| 30 | - from git.cmd import Git | ||
| 31 | 29 | from git.compat import is_win | |
| 32 | 30 | from git.exc import HookExecutionError, InvalidGitRepositoryError | |
| 33 | 31 | from git.index.fun import hook_path | |
| 34 | 32 | from git.index.typ import BaseIndexEntry, IndexEntry | |
| 35 | 33 | from git.objects import Blob | |
| 36 | - from test.lib import TestBase, fixture_path, fixture, with_rw_repo | ||
| 37 | - from test.lib import with_rw_directory | ||
| 38 | - from git.util import Actor, rmtree | ||
| 39 | - from git.util import HIDE_WINDOWS_KNOWN_ERRORS, hex_to_bin | ||
| 34 | + from test.lib import TestBase, fixture, fixture_path, with_rw_directory, with_rw_repo | ||
| 35 | + from git.util import Actor, hex_to_bin, rmtree | ||
| 40 | 36 | from gitdb.base import IStream | |
| 41 | 37 | ||
| 42 | 38 | HOOKS_SHEBANG = "#!/usr/bin/env sh\n" | |
@@ -434,14 +430,6 @@ def _count_existing(self, repo, files): | |||
| 434 | 430 | ||
| 435 | 431 | # END num existing helper | |
| 436 | 432 | ||
| 437 | - @skipIf( | ||
| 438 | - HIDE_WINDOWS_KNOWN_ERRORS and Git.is_cygwin(), | ||
| 439 | - """FIXME: File "C:\\projects\\gitpython\\git\\test\\test_index.py", line 642, in test_index_mutation | ||
| 440 | - self.assertEqual(fd.read(), link_target) | ||
| 441 | - AssertionError: '!<symlink>\xff\xfe/\x00e\x00t\x00c\x00/\x00t\x00h\x00a\x00t\x00\x00\x00' | ||
| 442 | - != '/etc/that' | ||
| 443 | - """, | ||
| 444 | - ) | ||
| 445 | 433 | @with_rw_repo("0.1.6") | |
| 446 | 434 | def test_index_mutation(self, rw_repo): | |
| 447 | 435 | index = rw_repo.index | |
| Back | FazBrowse Home | New Git URL |
0 commit comments