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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy