Add test for `_write_third_eTz_einsum_python` with `suppress_empty_if_checks=False`
Closed this issue · 1 comments
ngraymon commented
Otherwise coverage isn't 100%, unfortunately we need to test the whole function at the moment because it hasn't been factorized very well.
A small test for just the collect_z_contributions
function can be made to cover the if temp_z_list == []:
part
but the other if temp_list == []:
checks are not inside a little function wrapper and so need to be called from the top function _write_third_eTz_einsum_python
Probably best to back out the proper input here?
ngraymon commented
Really the actual solution is to factor out all the helper functions inside _write_third_eTz_einsum_python
but in lieu of that large procedure (which I will make an issue) a simple test will have to do for now