MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_repr

Method test_repr

Lib/test/test_hmac.py:1183–1185  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1181 cls.block_size = 64
1182
1183 def test_repr(self):
1184 h = self.hmac_new(b"my secret key", digestmod=self.digestname)
1185 self.assertStartsWith(repr(h), f"<{self.digestname} HMAC object @")
1186
1187
1188class UpdateTestCaseMixin:

Callers

nothing calls this directly

Calls 3

reprFunction · 0.85
hmac_newMethod · 0.45
assertStartsWithMethod · 0.45

Tested by

no test coverage detected