We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f133a52 commit e3f6b7fCopy full SHA for e3f6b7f
1 file changed
Lib/test/test_zoneinfo/test_zoneinfo.py
@@ -1551,6 +1551,10 @@ def __eq__(self, other):
1551
except CustomError:
1552
pass
1553
1554
+ @unittest.skipUnless(
1555
+ lambda: any(os.path.exists(os.path.join(p, 'UTC')) for p in ZoneInfo.tzpath),
1556
+ "timezone data not available"
1557
+ )
1558
def test_weak_cache_descriptor_use_after_free(self):
1559
from zoneinfo import ZoneInfo
1560
0 commit comments