diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2019-09-30 08:45:30 +0200 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2019-09-30 08:45:30 +0200 |
commit | 0dd99fe29775d6abd05029bc587303b6d37e3560 (patch) | |
tree | 77119d0dfac0d0989be326de44ff6594dd396c92 | |
parent | bb8b383d8be3f9da39c02f5e04fe3cf8260fa470 (diff) | |
download | gitpython-0dd99fe29775d6abd05029bc587303b6d37e3560.tar.gz |
Try to fix tests; get more debug output
m--------- | git/ext/gitdb | 0 | ||||
-rw-r--r-- | git/test/test_docs.py | 2 | ||||
-rw-r--r-- | git/util.py | 1 |
3 files changed, 1 insertions, 2 deletions
diff --git a/git/ext/gitdb b/git/ext/gitdb -Subproject c0fd43b5ff8c356fcf9cdebbbbd1803a502b465 +Subproject 43e16318e9ab95f146e230afe0a7cbdc848473f 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) |