It's unrelated to this PR. What is happening is that the order in which the tests get executed affects that line. Since the order test is random, that line ends up being covered or not. In fact, if you look at the list of recent coverage reports, you can see the score oscillates between 98.29% and 98.33%.
I will try to find the root cause of this "non-determinism"
It's unrelated to this PR. What is happening is that the order in which the tests get executed affects that line. Since the order test is random, that line ends up being covered or not. In fact, if you look at the list of recent coverage reports, you can see the score oscillates between 98.29% and 98.33%. I will try to find the root cause of this "non-determinism"
Originally posted by @cosenal in https://github.com/unitaryfund/mitiq/issues/2312#issuecomment-2070925879