MCPcopy Index your code
hub / github.com/python/cpython / assertAddressError

Method assertAddressError

Lib/test/test_ipaddress.py:58–61  ·  view source on GitHub ↗

Ensure a clean AddressValueError

(self, details, *args)

Source from the content-addressed store, hash-verified

56 self.assertTrue(exc.exception.__suppress_context__)
57
58 def assertAddressError(self, details, *args):
59 """Ensure a clean AddressValueError"""
60 return self.assertCleanError(ipaddress.AddressValueError,
61 details, *args)
62
63 def assertNetmaskError(self, details, *args):
64 """Ensure a clean NetmaskValueError"""

Calls 1

assertCleanErrorMethod · 0.95

Tested by

no test coverage detected