mirror of https://github.com/python/cpython
Fix typo in test_api.py. (GH-16119)
This commit is contained in:
parent
d44542f9a2
commit
0bc17ea2f5
|
@ -363,7 +363,7 @@ class ReloadTests:
|
|||
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue