@unittest.skipUnless(time._STRUCT_TM_ITEMS == 11, "needs tm_zone support")
    def test_strptime_timezone(self):
        t = time.strptime("UTC", "%Z")
        self.assertEqual(t.tm_zone, 'UTC')
        t = time.strptime("+0500", "%z")
        self.assertEqual(t.tm_gmtoff, 5 * 3600)
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_time.py/TestPytime.test_strptime_timezone/original