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