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

Commit8327b82

Browse files
committed
Fix test failing on unix
1 parent4674059 commit8327b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎test/test_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ def test_index_add_non_normalized_path(self, rw_repo):
11891189
file.touch()
11901190
non_normalized_path=file.as_posix()
11911191
ifos.name!="nt":
1192-
non_normalized_path=non_normalized_path.replace("/","\\")
1192+
non_normalized_path="/"+non_normalized_path[1:].replace("/","//")
11931193

11941194
rw_repo.index.add(non_normalized_path)
11951195

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp