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

Method assertNetmaskError

Lib/test/test_ipaddress.py:63–66  ·  view source on GitHub ↗

Ensure a clean NetmaskValueError

(self, details, *args)

Source from the content-addressed store, hash-verified

61 details, *args)
62
63 def assertNetmaskError(self, details, *args):
64 """Ensure a clean NetmaskValueError"""
65 return self.assertCleanError(ipaddress.NetmaskValueError,
66 details, *args)
67
68 def assertInstancesEqual(self, lhs, rhs):
69 """Check constructor arguments produce equivalent instances"""

Callers 2

assertBadNetmaskMethod · 0.80
assertBadNetmaskMethod · 0.80

Calls 1

assertCleanErrorMethod · 0.95

Tested by

no test coverage detected