Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc6a586a

Browse files
committed
No longer skip test_index_mutation on Cygwin
As it seems to be working now on Cygwin (maybe not native Windows).
1 parent881456b commitc6a586a

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

‎test/test_index.py

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
fromstatimportS_ISLNK,ST_MODE
1313
importshutil
1414
importtempfile
15-
fromunittestimportskipIf
1615

1716
importpytest
1817

@@ -27,16 +26,13 @@
2726
GitCommandError,
2827
CheckoutError,
2928
)
30-
fromgit.cmdimportGit
3129
fromgit.compatimportis_win
3230
fromgit.excimportHookExecutionError,InvalidGitRepositoryError
3331
fromgit.index.funimporthook_path
3432
fromgit.index.typimportBaseIndexEntry,IndexEntry
3533
fromgit.objectsimportBlob
36-
fromtest.libimportTestBase,fixture_path,fixture,with_rw_repo
37-
fromtest.libimportwith_rw_directory
38-
fromgit.utilimportActor,rmtree
39-
fromgit.utilimportHIDE_WINDOWS_KNOWN_ERRORS,hex_to_bin
34+
fromtest.libimportTestBase,fixture,fixture_path,with_rw_directory,with_rw_repo
35+
fromgit.utilimportActor,hex_to_bin,rmtree
4036
fromgitdb.baseimportIStream
4137

4238
HOOKS_SHEBANG="#!/usr/bin/env sh\n"
@@ -434,14 +430,6 @@ def _count_existing(self, repo, files):
434430

435431
# END num existing helper
436432

437-
@skipIf(
438-
HIDE_WINDOWS_KNOWN_ERRORSandGit.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-
)
445433
@with_rw_repo("0.1.6")
446434
deftest_index_mutation(self,rw_repo):
447435
index=rw_repo.index

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp