(self, tzname)
| 1492 | TZ_LON = 'GMT0BST,M3.5.0,M10.5.0' |
| 1493 | |
| 1494 | def gettz(self, tzname): |
| 1495 | # Actual time zone changes are handled by the _gettz_context function |
| 1496 | tzname_map = {'Australia/Sydney': self.TZ_AEST, |
| 1497 | 'America/Toronto': self.TZ_EST, |
| 1498 | 'America/New_York': self.TZ_EST, |
| 1499 | 'Europe/London': self.TZ_LON} |
| 1500 | |
| 1501 | return tz.tzstr(tzname_map[tzname]) |
| 1502 | |
| 1503 | def testStrTransition(self): |
| 1504 | # Check the abbreviation on either side of the DST transition. |
no outgoing calls
no test coverage detected