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

Method assertInstancesEqual

Lib/test/test_ipaddress.py:68–70  ·  view source on GitHub ↗

Check constructor arguments produce equivalent instances

(self, lhs, rhs)

Source from the content-addressed store, hash-verified

66 details, *args)
67
68 def assertInstancesEqual(self, lhs, rhs):
69 """Check constructor arguments produce equivalent instances"""
70 self.assertEqual(self.factory(lhs), self.factory(rhs))
71
72
73class CommonTestMixin:

Callers 5

test_intMethod · 0.80
test_packedMethod · 0.80
test_leading_zerosMethod · 0.80
test_intMethod · 0.80
test_packedMethod · 0.80

Calls 2

factoryMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected