We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69bceb6 commit 088d555Copy full SHA for 088d555
Lib/test/test_zoneinfo/test_zoneinfo.py
@@ -1585,7 +1585,7 @@ class EvilZoneInfo(ZoneInfo):
1585
1586
self.assertIsNotNone(zone1)
1587
self.assertEqual(str(zone1), "UTC")
1588
- except ModuleNotFoundError:
+ except self.module.ZoneInfoNotFoundError:
1589
pass
1590
1591
EvilZoneInfo.clear_cache()
@@ -1594,7 +1594,7 @@ class EvilZoneInfo(ZoneInfo):
1594
zone2 = EvilZoneInfo("UTC")
1595
self.assertIsNotNone(zone2)
1596
self.assertEqual(str(zone2), "UTC")
1597
1598
1599
1600
0 commit comments