This other test case, taken from a bug comment, can also be used:
#!/usr/bin/python
import pytz
from datetime import datetime
tz = pytz.timezone("Pacific/Apia")
d2 = datetime(2012,1,1)
local = tz.localize(d2)
local.dst()
print "All is good, NOT hit by bug #885163!"
This other test case, taken from a bug comment, can also be used:
#!/usr/bin/python "Pacific/ Apia")
import pytz
from datetime import datetime
tz = pytz.timezone(
d2 = datetime(2012,1,1)
local = tz.localize(d2)
local.dst()
print "All is good, NOT hit by bug #885163!"