We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a05e49d commit 8f219b5Copy full SHA for 8f219b5
1 file changed
git/test/test_stats.py
@@ -10,12 +10,12 @@
10
assert_equal
11
)
12
from git import Stats
13
-
+from git.compat import defenc
14
15
class TestStats(TestBase):
16
17
def test_list_from_string(self):
18
- output = fixture('diff_numstat')
+ output = fixture('diff_numstat').decode(defenc)
19
stats = Stats._list_from_string(self.rorepo, output)
20
21
assert_equal(2, stats.total['files'])
0 commit comments