Issue
The following test case fails for after_fold because pendulum doesn't keep a record of which side of the fold this datetime is. It only knows the date, time, and "Chicago"...
chicago_tz = pendulum.timezone('America/Chicago')
before_fold = pendulum.datetime(2024, 11, 3, 6, 0, 0, tz='utc').astimezone(chicago_tz)
after_fold = pendulum.datetime(2024, 11, 3, 7, 0, 0, tz='utc').astimezone(chicago_tz)
for test_dt in [before_fold, after_fold]:
pickled_data = pickle.dumps(test_dt)
unpickled_dt = pickle.loads(pickled_data)
assert test_dt.timestamp() == unpickled_dt.timestamp()