time.clock is deprecated since python 3.3 and no longer exists in python 3.8 time.process_time was introduced in python 3.3 Replace "is" by "==" as this produces a SyntaxWarning in python 3.8 Fixes odoo/odoo#41313 closes odoo/odoo#44502 X-original-commit: f03b4cb5576f264b6845242ba112f02422af4f5f Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>