Skip to content

Commit 0dd99fe

Browse files
committed
Try to fix tests; get more debug output
1 parent bb8b383 commit 0dd99fe

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

‎git/test/test_docs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def test_init_repo_object(self, rw_dir):
104104

105105
# Object handling
106106
# [11-test_init_repo_object]
107-
assert now.commit.message != past.commit.message
107+
assert now.commit.message != past.commit.message, now.commit.message
108108
# You can read objects directly through binary streams, no working tree required
109109
assert (now.commit.tree / 'VERSION').data_stream.read().decode('ascii').startswith('3')
110110

‎git/util.py

-1
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,6 @@ def _parse_progress_line(self, line):
394394
# find escape characters and cut them away - regex will not work with
395395
# them as they are non-ascii. As git might expect a tty, it will send them
396396
line = self.re_ansi_escape.sub('', line)
397-
line = line.rstrip()
398397

399398
cur_count, max_count = None, None
400399
match = self.re_op_relative.match(line)

0 commit comments

Comments
 (0)