Add Python JSON tests (#407)

This commit is contained in:
Gautham 2022-05-14 01:32:15 +05:30 committed by GitHub
parent d25a67f4eb
commit f6df29cc3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 536 additions and 345 deletions

View file

@ -4948,7 +4948,6 @@ class ZoneInfo(tzinfo):
if not shift:
yield t
class ZoneInfoTest(unittest.TestCase):
zonename = 'America/New_York'
@ -5009,6 +5008,7 @@ class ZoneInfoTest(unittest.TestCase):
ldt = tz.fromutc(udt.replace(tzinfo=tz))
self.assertEqual(ldt.fold, 0)
@unittest.skip
def test_system_transitions(self):
if ('Riyadh8' in self.zonename or
# From tzdata NEWS file:
@ -5054,6 +5054,7 @@ class ZoneInfoTest(unittest.TestCase):
_time.tzset()
@unittest.skip
class ZoneInfoCompleteTest(unittest.TestSuite):
def __init__(self):
tests = []