If you are call asserts in loop you have to add msg parameter to it because you don't know in which pass test fails. In msg you should write values used for this loop pass.