Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/766820 )
Change subject: [tests] Ignore "raise unittest.SkipTest" with code coverage ......................................................................
[tests] Ignore "raise unittest.SkipTest" with code coverage
Change-Id: I591e32a607eb524508c2bf84ee947ad5869e3ac7 --- M .coveragerc 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/.coveragerc b/.coveragerc index 092cb02..d97beb0 100644 --- a/.coveragerc +++ b/.coveragerc @@ -6,6 +6,7 @@ # Have to re-enable the standard pragma pragma: no cover raise NotImplementedError + raise unittest.SkipTest if .PYWIKIBOT_TEST_.*. in os.environ: @(abc.)?abstractmethod @deprecated([^)]+)