

@unittest.skipUnless((time._STRUCT_TM_ITEMS == 11), 'needs tm_zone support')
def test_short_times(self):
    import pickle
    st = b'ctime\nstruct_time\np0\n((I2007\nI8\nI11\nI1\nI24\nI49\nI5\nI223\nI1\ntp1\n(dp2\ntp3\nRp4\n.'
    lt = pickle.loads(st)
    self.assertIs(lt.tm_gmtoff, None)
    self.assertIs(lt.tm_zone, None)

dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_time.py TestPytime.test_short_times/original