(self)
| 1355 | datetime(2007, 8, 6, 6, 10, tzinfo=tz.tzstr("GMT+2"))) |
| 1356 | |
| 1357 | def testRangeTimeDelta(self): |
| 1358 | # Test that tzrange can be specified with a timedelta instead of an int. |
| 1359 | EST5EDT_td = tz.tzrange('EST', timedelta(hours=-5), |
| 1360 | 'EDT', timedelta(hours=-4)) |
| 1361 | |
| 1362 | EST5EDT_sec = tz.tzrange('EST', -18000, |
| 1363 | 'EDT', -14400) |
| 1364 | |
| 1365 | self.assertEqual(EST5EDT_td, EST5EDT_sec) |
| 1366 | |
| 1367 | def testRangeEquality(self): |
| 1368 | TZR1 = tz.tzrange('EST', -18000, 'EDT', -14400) |
nothing calls this directly
no outgoing calls
no test coverage detected