8000 [3.9] bpo-41371: Handle lzma lib import error in test_zoneinfo.py (GH-21734) by tirkarthi · Pull Request #22039 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.9] bpo-41371: Handle lzma lib import error in test_zoneinfo.py (GH-21734) #22039

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 10, 2020
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: 2 additions & 1 deletion Lib/test/test_zoneinfo/test_zoneinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import importlib.metadata
import io
import json
import lzma
import os
import pathlib
import pickle
Expand All @@ -20,7 +19,9 @@

from . import _support as test_support
from ._support import OS_ENV_LOCK, TZPATH_TEST_LOCK, ZoneInfoTestBase
from test.support import import_module

lzma = import_module('lzma')
py_zoneinfo, c_zoneinfo = test_support.get_modules()

try:
Expand Down
0