Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1040703?usp=email )
Change subject: [tests] Ignore coverage of TestDjVuFile.setUp() ......................................................................
[tests] Ignore coverage of TestDjVuFile.setUp()
Test cannot be runned due to missing djvu package in CI infrastructure.
Change-Id: Ib277a825deb5e8bf9aa7f95e5a00ce891072e79f --- M tests/djvu_tests.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/tests/djvu_tests.py b/tests/djvu_tests.py index 8a021e5..fc0f951 100755 --- a/tests/djvu_tests.py +++ b/tests/djvu_tests.py @@ -42,7 +42,7 @@ stderr=subprocess.PIPE) dp.communicate()
- def setUp(self): + def setUp(self): # pragma: no cover """Set up test.""" super().setUp() self.djvu = DjVuFile(file_djvu)