From: Bob Halley Date: Fri, 24 Jul 2020 15:08:29 +0000 (-0700) Subject: ignore coverage on abstract methods X-Git-Tag: v2.1.0rc1~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13af55c7b95307fd5ac24525e3f50ca2da5e2c2f;p=thirdparty%2Fdnspython.git ignore coverage on abstract methods --- diff --git a/dns/rdata.py b/dns/rdata.py index 98ded794..2d08dcc9 100644 --- a/dns/rdata.py +++ b/dns/rdata.py @@ -189,10 +189,10 @@ class Rdata: Returns a ``str``. """ - raise NotImplementedError + raise NotImplementedError # pragma: no cover def _to_wire(self, file, compress=None, origin=None, canonicalize=False): - raise NotImplementedError + raise NotImplementedError # pragma: no cover def to_wire(self, file=None, compress=None, origin=None, canonicalize=False): @@ -300,11 +300,11 @@ class Rdata: @classmethod def from_text(cls, rdclass, rdtype, tok, origin=None, relativize=True, relativize_to=None): - raise NotImplementedError + raise NotImplementedError # pragma: no cover @classmethod def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin=None): - raise NotImplementedError + raise NotImplementedError # pragma: no cover def replace(self, **kwargs): """