Issue #15767: Excise the remaining instances of ModuleNotFoundError

This commit is contained in:
Brett Cannon 2013-07-04 18:16:15 -04:00
parent 3dfd23245b
commit 260fbe80c5
8 changed files with 27 additions and 27 deletions

View file

@ -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):