Home
last modified time | relevance | path

Searched refs:assertAddressError (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/python/ipaddress/
Dtest_ipaddress.py69 def assertAddressError(self, details, *args): member in BaseTestCase
87 with self.assertAddressError("Address cannot be empty"):
91 with self.assertAddressError(re.escape(repr("1.0"))):
128 with self.assertAddressError(re.escape(msg)):
133 with self.assertAddressError(re.escape(msg % (2 ** 32))):
140 with self.assertAddressError(re.escape(msg % (addr, length))):
167 with self.assertAddressError(re.escape(msg)):
172 with self.assertAddressError(re.escape(msg % 2 ** 128)):
179 with self.assertAddressError(re.escape(msg % (addr, length))):
192 with self.assertAddressError("Unexpected '/' in %r", addr):
[all …]
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_ipaddress.py56 def assertAddressError(self, details, *args): member in BaseTestCase
74 with self.assertAddressError("Address cannot be empty"):
78 with self.assertAddressError(re.escape(repr("1.0"))):
113 with self.assertAddressError(msg):
126 with self.assertAddressError(re.escape(msg)):
131 with self.assertAddressError(re.escape(msg % 2**32)):
138 with self.assertAddressError(re.escape(msg % (addr, length))):
165 with self.assertAddressError(re.escape(msg)):
170 with self.assertAddressError(re.escape(msg % 2**128)):
177 with self.assertAddressError(re.escape(msg % (addr, length))):
[all …]