summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_xmlrpc.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-07-04 22:16:15 (GMT)
committerBrett Cannon <brett@python.org>2013-07-04 22:16:15 (GMT)
commit260fbe80c5bd3611ae9e896a3c4714527667aece (patch)
treeaa4e3e522edf2af312a256702b8f43769faab2e0 /Lib/test/test_xmlrpc.py
parent3dfd23245be19ff95cf50fe93c428dabf2ff90e7 (diff)
downloadcpython-260fbe80c5bd3611ae9e896a3c4714527667aece.zip
cpython-260fbe80c5bd3611ae9e896a3c4714527667aece.tar.gz
cpython-260fbe80c5bd3611ae9e896a3c4714527667aece.tar.bz2
Issue #15767: Excise the remaining instances of ModuleNotFoundError
Diffstat (limited to 'Lib/test/test_xmlrpc.py')
-rw-r--r--Lib/test/test_xmlrpc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_xmlrpc.py b/Lib/test/test_xmlrpc.py
index 99be297..31d735e 100644
--- a/Lib/test/test_xmlrpc.py
+++ b/Lib/test/test_xmlrpc.py
@@ -15,11 +15,11 @@ from test import support
try:
import gzip
-except ModuleNotFoundError:
+except ImportError:
gzip = None
try:
import threading
-except ModuleNotFoundError:
+except ImportError:
threading = None
alist = [{'astring': 'foo@bar.baz.spam',