From 13af55c7b95307fd5ac24525e3f50ca2da5e2c2f Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Fri, 24 Jul 2020 08:08:29 -0700 Subject: [PATCH] ignore coverage on abstract methods --- dns/rdata.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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): """ -- 2.47.3