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

Method test_new_upper_to_lower

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

Source from the content-addressed store, hash-verified

352 self.assertRaisesRegex(TypeError, err, hashlib.new, 1)
353
354 def test_new_upper_to_lower(self):
355 self.assertEqual(hashlib.new("SHA256").name, "sha256")
356
357 @support.thread_unsafe("modifies sys.modules")
358 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