MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_blank_scope_id

Method test_blank_scope_id

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

Source from the content-addressed store, hash-verified

184 assertBadLength(17)
185
186 def test_blank_scope_id(self):
187 address = ('::1%')
188 with self.assertAddressError('Invalid IPv6 address: "%r"', address):
189 self.factory(address)
190
191 def test_invalid_scope_id_with_percent(self):
192 address = ('::1%scope%')

Callers

nothing calls this directly

Calls 2

assertAddressErrorMethod · 0.80
factoryMethod · 0.45

Tested by

no test coverage detected