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

Method test_threaded_hashing_slow

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

Source from the content-addressed store, hash-verified

1112 @threading_helper.reap_threads
1113 @threading_helper.requires_working_threading()
1114 def test_threaded_hashing_slow(self):
1115 for algorithm, constructors in self.constructors_to_test.items():
1116 is_shake = algorithm in self.shakes
1117 for constructor in constructors:
1118 with self.subTest(constructor.__name__, is_shake=is_shake):
1119 self.do_test_threaded_hashing(constructor, is_shake)
1120
1121 def do_test_threaded_hashing(self, constructor, is_shake):
1122 # Updating the same hash object from several threads at once

Callers

nothing calls this directly

Calls 3

itemsMethod · 0.45
subTestMethod · 0.45

Tested by

no test coverage detected