(self, tzname)
| 1416 | TZ_LON = 'GMT0BST,M3.5.0,M10.5.0' |
| 1417 | |
| 1418 | def gettz(self, tzname): |
| 1419 | # Actual time zone changes are handled by the _gettz_context function |
| 1420 | tzname_map = {'Australia/Sydney': self.TZ_AEST, |
| 1421 | 'America/Toronto': self.TZ_EST, |
| 1422 | 'America/New_York': self.TZ_EST, |
| 1423 | 'Europe/London': self.TZ_LON} |
| 1424 | |
| 1425 | return tz.tzstr(tzname_map[tzname]) |
| 1426 | |
| 1427 | def testStrStr(self): |
| 1428 | # Test that tz.tzstr() won't throw an error if given a str instead |
no outgoing calls
no test coverage detected