summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib
diff options
context:
space:
mode:
authorMin ho Kim <minho42@gmail.com>2019-07-21 20:12:33 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2019-07-21 20:12:33 (GMT)
commit96e12d5f4f3c5a20986566038ee763dff3c228a1 (patch)
treeae4039f978a155a295903e084f4531d42b8cf7a8 /Lib/test/test_importlib
parent8e3a7380ecb310b50e48f47d1f26190cc9c45eb6 (diff)
downloadcpython-96e12d5f4f3c5a20986566038ee763dff3c228a1.zip
cpython-96e12d5f4f3c5a20986566038ee763dff3c228a1.tar.gz
cpython-96e12d5f4f3c5a20986566038ee763dff3c228a1.tar.bz2
Fix typos in docs, comments and test assert messages (#14872)
Diffstat (limited to 'Lib/test/test_importlib')
-rw-r--r--Lib/test/test_importlib/test_main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/test_main.py b/Lib/test/test_importlib/test_main.py
index 844ed26..5e2cb26 100644
--- a/Lib/test/test_importlib/test_main.py
+++ b/Lib/test/test_importlib/test_main.py
@@ -32,7 +32,7 @@ class BasicTests(fixtures.DistInfoPkg, unittest.TestCase):
class ImportTests(fixtures.DistInfoPkg, unittest.TestCase):
def test_import_nonexistent_module(self):
# Ensure that the MetadataPathFinder does not crash an import of a
- # non-existant module.
+ # nonexistent module.
with self.assertRaises(ImportError):
importlib.import_module('does_not_exist')