Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/814364 )
Change subject: [tests] Exclude some old code from coverage ......................................................................
[tests] Exclude some old code from coverage
Change-Id: Ief0fec44c3232cfd14efd5305c90f06af1e757ff --- M .coveragerc 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/.coveragerc b/.coveragerc index e7214d5..a5430bf 100644 --- a/.coveragerc +++ b/.coveragerc @@ -14,5 +14,6 @@ raise NotImplementedError raise unittest.SkipTest if .PYWIKIBOT_TEST_.*. in os.environ: + if self.mw_version < .+: @(abc.)?abstractmethod @deprecated([^)]+)
pywikibot-commits@lists.wikimedia.org