Method
c
(*args, __algorithm_name=algorithm, **kwargs)
Source from the content-addressed store, hash-verified
| 149 | for algorithm, constructors in self.constructors_to_test.items(): |
| 150 | constructors.add(getattr(hashlib, algorithm)) |
| 151 | def c(*args, __algorithm_name=algorithm, **kwargs): |
| 152 | return hashlib.new(__algorithm_name, *args, **kwargs) |
| 153 | c.__name__ = f'do_test_algorithm_via_hashlib_new_{algorithm}' |
| 154 | constructors.add(c) |
| 155 | |
Callers
nothing calls this directly
Tested by
no test coverage detected