From 0dd99fe29775d6abd05029bc587303b6d37e3560 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 30 Sep 2019 08:45:30 +0200 Subject: Try to fix tests; get more debug output --- git/ext/gitdb | 2 +- git/test/test_docs.py | 2 +- git/util.py | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/git/ext/gitdb b/git/ext/gitdb index c0fd43b5..43e16318 160000 --- a/git/ext/gitdb +++ b/git/ext/gitdb @@ -1 +1 @@ -Subproject commit c0fd43b5ff8c356fcf9cdebbbbd1803a502b4651 +Subproject commit 43e16318e9ab95f146e230afe0a7cbdc848473fe diff --git a/git/test/test_docs.py b/git/test/test_docs.py index c14f5ff3..f0932716 100644 --- a/git/test/test_docs.py +++ b/git/test/test_docs.py @@ -104,7 +104,7 @@ class Tutorials(TestBase): # Object handling # [11-test_init_repo_object] - assert now.commit.message != past.commit.message + assert now.commit.message != past.commit.message, now.commit.message # You can read objects directly through binary streams, no working tree required assert (now.commit.tree / 'VERSION').data_stream.read().decode('ascii').startswith('3') diff --git a/git/util.py b/git/util.py index 936789cb..fd95723b 100644 --- a/git/util.py +++ b/git/util.py @@ -394,7 +394,6 @@ class RemoteProgress(object): # find escape characters and cut them away - regex will not work with # them as they are non-ascii. As git might expect a tty, it will send them line = self.re_ansi_escape.sub('', line) - line = line.rstrip() cur_count, max_count = None, None match = self.re_op_relative.match(line) -- cgit v1.2.3