[Reproducible-commits] [diffoscope] 02/03: Output differences in directory test to ease debugging

Jérémy Bobbio lunar at moszumanska.debian.org
Thu Sep 3 14:08:27 UTC 2015


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

lunar pushed a commit to branch master
in repository diffoscope.

commit bdbff7a15549cd704a5674b8f6c2b83e3772c15b
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Thu Sep 3 13:47:22 2015 +0000

    Output differences in directory test to ease debugging
---
 tests/comparators/test_directory.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/comparators/test_directory.py b/tests/comparators/test_directory.py
index 2ea46ba..0897409 100644
--- a/tests/comparators/test_directory.py
+++ b/tests/comparators/test_directory.py
@@ -51,6 +51,7 @@ def differences(tmpdir):
     return compare_directories(str(tmpdir.join('a')), str(tmpdir.join('b'))).details
 
 def test_content(differences):
+    output_text(differences[0], print_func=print)
     assert differences[0].source1 == 'dir/text'
     expected_diff = open(os.path.join(os.path.dirname(__file__), '../data/text_ascii_expected_diff')).read()
     assert differences[0].unified_diff == expected_diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git



More information about the Reproducible-commits mailing list