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

Commit8f219b5

Browse files
committed
test_stat works
1 parenta05e49d commit8f219b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎git/test/test_stats.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
assert_equal
1111
)
1212
fromgitimportStats
13-
13+
fromgit.compatimportdefenc
1414

1515
classTestStats(TestBase):
1616

1717
deftest_list_from_string(self):
18-
output=fixture('diff_numstat')
18+
output=fixture('diff_numstat').decode(defenc)
1919
stats=Stats._list_from_string(self.rorepo,output)
2020

2121
assert_equal(2,stats.total['files'])

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp