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

Method assertTypedEqual

Lib/test/test_str.py:102–104  ·  view source on GitHub ↗
(self, actual, expected)

Source from the content-addressed store, hash-verified

100 self.assertTrue(object is not realresult)
101
102 def assertTypedEqual(self, actual, expected):
103 self.assertIs(type(actual), type(expected))
104 self.assertEqual(actual, expected)
105
106 def test_literals(self):
107 self.assertEqual('\xff', '\u00ff')

Callers 3

test_asciiMethod · 0.95
test_reprMethod · 0.95
test_conversionMethod · 0.95

Calls 2

assertIsMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected