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

Method test_leading_zeros

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

Source from the content-addressed store, hash-verified

147class CommonTestMixin_v6(CommonTestMixin):
148
149 def test_leading_zeros(self):
150 self.assertInstancesEqual("0000::0000", "::")
151 self.assertInstancesEqual("000::c0a8:0001", "::c0a8:1")
152
153 def test_int(self):
154 self.assertInstancesEqual(0, "::")

Callers

nothing calls this directly

Calls 1

assertInstancesEqualMethod · 0.80

Tested by

no test coverage detected