mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #15767: Excise the remaining instances of ModuleNotFoundError
This commit is contained in:
parent
3dfd23245b
commit
260fbe80c5
8 changed files with 27 additions and 27 deletions
|
@ -12,15 +12,15 @@ from test import support
|
|||
# Check for our compression modules.
|
||||
try:
|
||||
import gzip
|
||||
except ModuleNotFoundError:
|
||||
except ImportError:
|
||||
gzip = None
|
||||
try:
|
||||
import bz2
|
||||
except ModuleNotFoundError:
|
||||
except ImportError:
|
||||
bz2 = None
|
||||
try:
|
||||
import lzma
|
||||
except ModuleNotFoundError:
|
||||
except ImportError:
|
||||
lzma = None
|
||||
|
||||
def md5sum(data):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue