[Reproducible-commits] [diffoscope] 11/21: fix cbfs test

Joachim Breitner nomeata at moszumanska.debian.org
Thu Dec 3 15:05:05 UTC 2015


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

nomeata pushed a commit to branch pu/parallel2
in repository diffoscope.

commit 02b51fe609f29fea1527af14960effe8526d910c
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Thu Nov 19 12:08:29 2015 +0000

    fix cbfs test
---
 tests/comparators/test_cbfs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/comparators/test_cbfs.py b/tests/comparators/test_cbfs.py
index 1850f76..f9b8646 100644
--- a/tests/comparators/test_cbfs.py
+++ b/tests/comparators/test_cbfs.py
@@ -65,7 +65,7 @@ def test_identification_without_offset(rom2):
 @pytest.mark.skipif(tool_missing('cbfstool'), reason='missing cbfstool')
 def test_no_differences(rom1):
     difference = rom1.compare(rom1)
-    assert difference is None
+    assert not difference
 
 @pytest.fixture
 def differences(rom1, rom2):

-- 
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