[Python-modules-commits] [dulwich] 13/19: Fix python3 build.

Jelmer Vernooij jelmer at moszumanska.debian.org
Sun Oct 29 17:22:28 UTC 2017


This is an automated email from the git hooks/post-receive script.

jelmer pushed a commit to branch master
in repository dulwich.

commit fe7b856ee4d098ce3e61cf8a6e5c9c78657dcb38
Author: Jelmer Vernooij <jelmer at debian.org>
Date:   Thu Oct 19 00:48:57 2017 +0100

    Fix python3 build.
---
 dulwich/tests/test_repository.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dulwich/tests/test_repository.py b/dulwich/tests/test_repository.py
index 6ef9516..3b361be 100644
--- a/dulwich/tests/test_repository.py
+++ b/dulwich/tests/test_repository.py
@@ -884,7 +884,7 @@ class BuildRepoRootTests(TestCase):
         r = self._repo
         os.mkdir(os.path.join(r.path, 'c'))
         r.stage(['c'])
-        self.assertEqual(['a'], list(r.open_index()))
+        self.assertEqual([b'a'], list(r.open_index()))
 
     @skipIf(sys.platform == 'win32' and sys.version_info[:2] >= (3, 6),
             'tries to implicitly decode as utf8')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/dulwich.git



More information about the Python-modules-commits mailing list