Mercurial > p > roundup > code
diff test/test_dates.py @ 5792:db429c75caec
replace assertEquals with assertEqual.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 10 Jun 2019 21:20:14 -0400 |
| parents | 64c4e43fbb84 |
| children | d76291836523 |
line wrap: on
line diff
--- a/test/test_dates.py Mon Jun 10 20:57:40 2019 -0400 +++ b/test/test_dates.py Mon Jun 10 21:20:14 2019 -0400 @@ -88,7 +88,7 @@ ae(str(Date('1800-07-15')), '1800-07-15.00:00:00') def testLeapYear(self): - self.assertEquals(str(Date('2008-02-29')), '2008-02-29.00:00:00') + self.assertEqual(str(Date('2008-02-29')), '2008-02-29.00:00:00') def testDateError(self): self.assertRaises(ValueError, Date, "12")
