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

Method test_new_upper_to_lower

Lib/test/test_hashlib.py:327–328  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

325 self.assertRaises(TypeError, hashlib.new, 1)
326
327 def test_new_upper_to_lower(self):
328 self.assertEqual(hashlib.new("SHA256").name, "sha256")
329
330 @support.thread_unsafe("modifies sys.modules")
331 def test_get_builtin_constructor(self):

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
newMethod · 0.45

Tested by

no test coverage detected