]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
ignore coverage on abstract methods
authorBob Halley <halley@dnspython.org>
Fri, 24 Jul 2020 15:08:29 +0000 (08:08 -0700)
committerBob Halley <halley@dnspython.org>
Fri, 24 Jul 2020 15:08:29 +0000 (08:08 -0700)
dns/rdata.py

index 98ded794db519ff2542d407d64146f8a2489f668..2d08dcc9bb25e6eea7b56c78433f7b72e08358cf 100644 (file)
@@ -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):
         """