Method
c
(*args, __algorithm_name=algorithm, **kwargs)
Source from the content-addressed store, hash-verified
| 139 | for algorithm, constructors in self.constructors_to_test.items(): |
| 140 | constructors.add(getattr(hashlib, algorithm)) |
| 141 | def c(*args, __algorithm_name=algorithm, **kwargs): |
| 142 | return hashlib.new(__algorithm_name, *args, **kwargs) |
| 143 | c.__name__ = f'do_test_algorithm_via_hashlib_new_{algorithm}' |
| 144 | constructors.add(c) |
| 145 | |
Callers
nothing calls this directly
Tested by
no test coverage detected