[diffoscope] 01/02: Drop debugging code in Android tests.

Chris Lamb chris at chris-lamb.co.uk
Sat Feb 10 17:03:45 CET 2018


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

lamby pushed a commit to branch master
in repository diffoscope.

commit 2bf2f0f28f014d64e1e2b00390287fce7aea5dd7
Author: Chris Lamb <lamby at debian.org>
Date:   Sat Feb 10 16:00:03 2018 +0000

    Drop debugging code in Android tests.
---
 tests/comparators/test_android.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/comparators/test_android.py b/tests/comparators/test_android.py
index 6a2b646..97bfa09 100644
--- a/tests/comparators/test_android.py
+++ b/tests/comparators/test_android.py
@@ -51,9 +51,6 @@ def differences(bootimg1, bootimg2):
 @skip_unless_tools_exist('abootimg')
 @pytest.mark.skipif(bearch, reason='abootimg is buggy on BE architectures')
 def test_diff(differences):
-    # FIXME
-    with open('tests/data/android_expected_diff', 'w') as f:
-        f.write(differences[0].unified_diff)
     expected_diff = get_data('android_expected_diff')
     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 diffoscope mailing list