https://github.com/python/cpython/commit/3ac6520b830a6af47121e6d83d091db2dbef2eb3 commit: 3ac6520b830a6af47121e6d83d091db2dbef2eb3 branch: 3.7 author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com> committer: GitHub <noreply at github.com> date: 2019年09月13日T10:48:02-07:00 summary: Fix typo in test_api.py. (GH-16119) (cherry picked from commit 0bc17ea2f5966f429b5b8d6b4ccb9c01f1f610d0) Co-authored-by: Benjamin Peterson <benjamin at python.org> files: M Lib/test/test_importlib/test_api.py diff --git a/Lib/test/test_importlib/test_api.py b/Lib/test/test_importlib/test_api.py index edb745c2cd49..0fb1346f9eec 100644 --- a/Lib/test/test_importlib/test_api.py +++ b/Lib/test/test_importlib/test_api.py @@ -363,7 +363,7 @@ def test_reload_submodule(self): def test_module_missing_spec(self): #Test that reload() throws ModuleNotFounderror when reloading - # a module who's missing a spec. (bpo-29851) + # a module whose missing a spec. (bpo-29851) name = 'spam' with test_util.uncache(name): module = sys.modules[name] = types.ModuleType(name)