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

Method test_empty_address

Lib/test/test_ipaddress.py:75–77  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

73class CommonTestMixin:
74
75 def test_empty_address(self):
76 with self.assertAddressError("Address cannot be empty"):
77 self.factory("")
78
79 def test_floats_rejected(self):
80 with self.assertAddressError(re.escape(repr("1.0"))):

Callers

nothing calls this directly

Calls 2

assertAddressErrorMethod · 0.80
factoryMethod · 0.45

Tested by

no test coverage detected