See rfc-5545 3.3.10 - This checks for the deprecation warning, and will eventually check for an error.
(self)
| 2357 | self.assertRaises(ValueError, make_bad_hour_rrule) |
| 2358 | |
| 2359 | def testBadUntilCountRRule(self): |
| 2360 | """ |
| 2361 | See rfc-5545 3.3.10 - This checks for the deprecation warning, and will |
| 2362 | eventually check for an error. |
| 2363 | """ |
| 2364 | with pytest.warns(DeprecationWarning): |
| 2365 | rrule(DAILY, dtstart=datetime(1997, 9, 2, 9, 0), |
| 2366 | count=3, until=datetime(1997, 9, 4, 9, 0)) |
| 2367 | |
| 2368 | def testUntilNotMatching(self): |
| 2369 | self.assertEqual(list(rrule(DAILY, |