Just like for `assertQueryCount`, we should not take into account queries that are not run after a warmup, for consistency. This allows to easily interchange both context managers for debugging purpose for instance. closes odoo/odoo#142450 X-original-commit: aaa1d287085c8b2fe20b6591ca9f1b5bbe65d3db Signed-off-by: Raphael Collet <rco@odoo.com> Signed-off-by: William André (wan) <wan@odoo.com>