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

Method eq

Lib/test/test_types.py:961–964  ·  view source on GitHub ↗
(actual, expected, typed=True)

Source from the content-addressed store, hash-verified

959
960 def test_union_parameter_substitution(self):
961 def eq(actual, expected, typed=True):
962 self.assertEqual(actual, expected)
963 if typed:
964 self.assertIs(type(actual), type(expected))
965
966 T = typing.TypeVar('T')
967 S = typing.TypeVar('S')

Callers 1

test_eqMethod · 0.45

Calls 2

assertEqualMethod · 0.45
assertIsMethod · 0.45

Tested by

no test coverage detected