From f6131ff290cd31a8b53fcb636cf2108cbc6b3dc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 28 Jul 2018 22:23:35 +0200 Subject: [PATCH] Fix missing replacement of repr of timedelta in doctest issue7547 --- tests/scenario_project_invoice_timesheet.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/scenario_project_invoice_timesheet.rst b/tests/scenario_project_invoice_timesheet.rst index 347f2c131a..de783cef97 100644 --- a/tests/scenario_project_invoice_timesheet.rst +++ b/tests/scenario_project_invoice_timesheet.rst @@ -148,8 +148,8 @@ Check project duration:: >>> project.reload() >>> project.invoiced_duration datetime.timedelta(0) - >>> project.duration_to_invoice - datetime.timedelta(0, 18000) + >>> project.duration_to_invoice == datetime.timedelta(0, 18000) + True >>> project.invoiced_amount Decimal('0.00')