Skip to content

Commit 34a7ee1

Browse files
Remove skips
1 parent b330897 commit 34a7ee1

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Lib/test/test_time.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,6 @@ class TestStrftime4dyear(_TestStrftimeYear, _Test4dYear, unittest.TestCase):
756756

757757
class TestPytime(unittest.TestCase):
758758
@skip_if_buggy_ucrt_strfptime
759-
@unittest.skipUnless(time._STRUCT_TM_ITEMS == 11, "needs tm_zone support")
760759
def test_localtime_timezone(self):
761760

762761
# Get the localtime and examine it for the offset and zone.
@@ -791,14 +790,12 @@ def test_localtime_timezone(self):
791790
self.assertEqual(new_lt.tm_gmtoff, lt.tm_gmtoff)
792791
self.assertEqual(new_lt9.tm_zone, lt.tm_zone)
793792

794-
@unittest.skipUnless(time._STRUCT_TM_ITEMS == 11, "needs tm_zone support")
795793
def test_strptime_timezone(self):
796794
t = time.strptime("UTC", "%Z")
797795
self.assertEqual(t.tm_zone, 'UTC')
798796
t = time.strptime("+0500", "%z")
799797
self.assertEqual(t.tm_gmtoff, 5 * 3600)
800798

801-
@unittest.skipUnless(time._STRUCT_TM_ITEMS == 11, "needs tm_zone support")
802799
def test_short_times(self):
803800

804801
import pickle

0 commit comments

Comments
 (0)