mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
merge 3.3
This commit is contained in:
@@ -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:])
|
||||
|
||||
Reference in New Issue
Block a user