Skip to content

Commit 8f219b5

Browse files
committed
test_stat works
1 parent a05e49d commit 8f219b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎git/test/test_stats.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
assert_equal
1111
)
1212
from git import Stats
13-
13+
from git.compat import defenc
1414

1515
class TestStats(TestBase):
1616

1717
def test_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)