mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +00:00
Fix typos in docs, comments and test assert messages (#14872)
This commit is contained in:
parent
8e3a7380ec
commit
96e12d5f4f
21 changed files with 24 additions and 24 deletions
|
|
@ -32,7 +32,7 @@ def test_new_style_classes(self):
|
|||
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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue