[diffoscope] 01/05: comparators: Don't report on test coverage for some internal error messages.

Chris Lamb chris at chris-lamb.co.uk
Thu Feb 2 02:51:24 UTC 2017


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

lamby pushed a commit to branch master
in repository diffoscope.

commit bf7155a862fcc0d185e6cd084e8f97f92d9b43a1
Author: Chris Lamb <lamby at debian.org>
Date:   Thu Feb 2 14:37:06 2017 +1300

    comparators: Don't report on test coverage for some internal error messages.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 diffoscope/comparators/squashfs.py         | 4 ++--
 diffoscope/comparators/utils/libarchive.py | 4 ++--
 diffoscope/comparators/zip.py              | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/diffoscope/comparators/squashfs.py b/diffoscope/comparators/squashfs.py
index 7d7cf0e..0283ee0 100644
--- a/diffoscope/comparators/squashfs.py
+++ b/diffoscope/comparators/squashfs.py
@@ -113,10 +113,10 @@ class SquashfsDirectory(Directory, SquashfsMember):
         return True
 
     def get_member_names(self):
-        raise ValueError("squashfs are compared as a whole.")
+        raise ValueError("squashfs are compared as a whole.")  # noqa
 
     def get_member(self, member_name):
-        raise ValueError("squashfs are compared as a whole.")
+        raise ValueError("squashfs are compared as a whole.")  # noqa
 
 
 class SquashfsSymlink(Symlink, SquashfsMember):
diff --git a/diffoscope/comparators/utils/libarchive.py b/diffoscope/comparators/utils/libarchive.py
index 2031162..17c3727 100644
--- a/diffoscope/comparators/utils/libarchive.py
+++ b/diffoscope/comparators/utils/libarchive.py
@@ -123,10 +123,10 @@ class LibarchiveDirectory(Directory, LibarchiveMember):
         return True
 
     def get_member_names(self):
-        raise ValueError("archives are compared as a whole.")
+        raise ValueError("archives are compared as a whole.")  # noqa
 
     def get_member(self, member_name):
-        raise ValueError("archives are compared as a whole.")
+        raise ValueError("archives are compared as a whole.")  # noqa
 
 
 class LibarchiveSymlink(Symlink, LibarchiveMember):
diff --git a/diffoscope/comparators/zip.py b/diffoscope/comparators/zip.py
index b081452..89ec9c2 100644
--- a/diffoscope/comparators/zip.py
+++ b/diffoscope/comparators/zip.py
@@ -65,10 +65,10 @@ class ZipDirectory(Directory, ArchiveMember):
         return True
 
     def get_member_names(self):
-        raise ValueError("Zip archives are compared as a whole.")
+        raise ValueError("Zip archives are compared as a whole.")  # noqa
 
     def get_member(self, member_name):
-        raise ValueError("Zip archives are compared as a whole.")
+        raise ValueError("Zip archives are compared as a whole.")  # noqa
 
 
 class ZipContainer(Archive):

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