def __setstate__(self, state):
        self.__dict__ = state
        calendar, holidays = self.get_calendar(weekmask=self.weekmask,
                                               holidays=self.holidays,
                                               calendar=None)
        self.kwds['calendar'] = self.calendar = calendar
        self.kwds['holidays'] = self.holidays = holidays
        self.kwds['weekmask'] = state['weekmask']
Verify that users are redirected to renew their access token
dataset/ETHPy150Open pydata/pandas/pandas/tseries/offsets.py/CustomBusinessDay.__setstate__--crossover with--dataset/ETHPy150Open jgorset/fandjango/tests/test_fandjango.py/TestFacebookWebMiddleware.test_oauth_token_request_renewal