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

Commit0cb55fb

Browse files
committed
Revert "Add tests with non-ascii characters"
This reverts commit1710626.
1 parent1710626 commit0cb55fb

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

‎test/test_clone.py‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,6 @@ def test_clone_from_pathlike(self, rw_dir):
5252
original_repo=Repo.init(osp.join(rw_dir,"repo"))
5353
Repo.clone_from(PathLikeMock(original_repo.git_dir),PathLikeMock(os.path.join(rw_dir,"clone_pathlike")))
5454

55-
@with_rw_directory
56-
deftest_clone_from_pathlike_unicode_repr(self,rw_dir):
57-
original_repo=Repo.init(osp.join(rw_dir,"repo-áēñöưḩ̣"))
58-
Repo.clone_from(
59-
PathLikeMock(original_repo.git_dir),PathLikeMock(os.path.join(rw_dir,"clone_pathlike-áēñöưḩ̣"))
60-
)
61-
6255
@with_rw_directory
6356
deftest_clone_from_pathlib_withConfig(self,rw_dir):
6457
original_repo=Repo.init(osp.join(rw_dir,"repo"))

‎test/test_index.py‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,15 +1212,6 @@ def test_index_add_pathlike(self, rw_repo):
12121212

12131213
rw_repo.index.add(PathLikeMock(str(file)))
12141214

1215-
@with_rw_repo("HEAD")
1216-
deftest_index_add_pathlike_unicode(self,rw_repo):
1217-
git_dir=Path(rw_repo.git_dir)
1218-
1219-
file=git_dir/"file-áēñöưḩ̣.txt"
1220-
file.touch()
1221-
1222-
rw_repo.index.add(PathLikeMock(str(file)))
1223-
12241215
@with_rw_repo("HEAD")
12251216
deftest_index_add_non_normalized_path(self,rw_repo):
12261217
git_dir=Path(rw_repo.git_dir)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp