(self)
| 1431 | datetime(2007, 8, 6, 6, 10, tzinfo=tz.tzstr("GMT+2"))) |
| 1432 | |
| 1433 | def testRangeTimeDelta(self): |
| 1434 | # Test that tzrange can be specified with a timedelta instead of an int. |
| 1435 | EST5EDT_td = tz.tzrange('EST', timedelta(hours=-5), |
| 1436 | 'EDT', timedelta(hours=-4)) |
| 1437 | |
| 1438 | EST5EDT_sec = tz.tzrange('EST', -18000, |
| 1439 | 'EDT', -14400) |
| 1440 | |
| 1441 | self.assertEqual(EST5EDT_td, EST5EDT_sec) |
| 1442 | |
| 1443 | def testRangeEquality(self): |
| 1444 | TZR1 = tz.tzrange('EST', -18000, 'EDT', -14400) |
nothing calls this directly
no outgoing calls
no test coverage detected