mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
merge 3.3
This commit is contained in:
commit
fc6f4cd398
1 changed files with 2 additions and 1 deletions
|
@ -267,7 +267,8 @@ class ImportTests(unittest.TestCase):
|
|||
# Issue #15902
|
||||
name = '_testimportmultiple'
|
||||
found = imp.find_module(name)
|
||||
found[0].close()
|
||||
if found[0] is not None:
|
||||
found[0].close()
|
||||
if found[2][2] != imp.C_EXTENSION:
|
||||
return
|
||||
imp.load_module(name, None, *found[1:])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue