Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Lib/test/test_zoneinfo/test_zoneinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import re
import shutil
import struct
import sys
import tempfile
import unittest
from datetime import date, datetime, time, timedelta, timezone
Expand Down Expand Up @@ -2154,6 +2155,8 @@ def test_pydatetime(self):
PYTHONTZPATH=str(ZONEINFO_DATA.tzpath))


@unittest.skipIf(sys.modules.get("_zoneinfo") is None,
"_zoneinfo C module not available")
class ExtensionBuiltTest(unittest.TestCase):
"""Smoke test to ensure that the C and Python extensions are both tested.

Expand Down
Loading