From 571e3cffa71db3c5bb25bc9ca20e5f7481740539 Mon Sep 17 00:00:00 2001 From: Vassilii Khachaturov Date: Sat, 14 Sep 2013 11:50:58 +0000 Subject: [PATCH] 7034: fix test_copy_ymd_preserves_orig broken in r23083 svn: r23120 --- gramps/gen/lib/test/date_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/gen/lib/test/date_test.py b/gramps/gen/lib/test/date_test.py index a9e1210fb..a65f37222 100644 --- a/gramps/gen/lib/test/date_test.py +++ b/gramps/gen/lib/test/date_test.py @@ -470,7 +470,8 @@ class Test_set2(BaseDateTest): self.assertEqual(stop, (2009, 1, 1)) def test_copy_ymd_preserves_orig(self): - copied = self.date.copy_ymd(year=1000, month=10, day=10) + copied = self.date.copy_ymd(year=1000, month=10, day=10, + remove_stop_date=True) self.testStartStopSanity() start,stop = copied.get_start_stop_range() self.assertEqual(start, (1000, 10, 10))