diff options
-rw-r--r-- | Lib/test/datetimetester.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/datetimetester.py b/Lib/test/datetimetester.py index 63bfed5..7743c67 100644 --- a/Lib/test/datetimetester.py +++ b/Lib/test/datetimetester.py @@ -117,6 +117,9 @@ class PicklableFixedOffset(FixedOffset): def __init__(self, offset=None, name=None, dstoffset=None): FixedOffset.__init__(self, offset, name, dstoffset) + def __getstate__(self): + return self.__dict__ + class _TZInfo(tzinfo): def utcoffset(self, datetime_module): return random.random() |