summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-07-24 08:08:29 -0700
committerBob Halley <halley@dnspython.org>2020-07-24 08:08:29 -0700
commit13af55c7b95307fd5ac24525e3f50ca2da5e2c2f (patch)
tree925eaf1d6ac2c3f20caf6430b248636ae64ab1a8
parent5fd1139e2cae450ddbaa0269a12356866ebf16bb (diff)
downloaddnspython-13af55c7b95307fd5ac24525e3f50ca2da5e2c2f.tar.gz
ignore coverage on abstract methods
-rw-r--r--dns/rdata.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/dns/rdata.py b/dns/rdata.py
index 98ded79..2d08dcc 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):
"""