MCPcopy Create free account
hub / github.com/RustPython/RustPython / eq

Method eq

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

Source from the content-addressed store, hash-verified

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

Callers 1

test_eqMethod · 0.45

Calls 2

assertEqualMethod · 0.45
assertIsMethod · 0.45

Tested by

no test coverage detected