tests: Close file object in six_brokenpkg
This commit is contained in:
parent
16c602aaa2
commit
7d9eebdb9a
|
@ -53,4 +53,4 @@ if _system_six:
|
||||||
else:
|
else:
|
||||||
from . import _six as six
|
from . import _six as six
|
||||||
six_py_file = '{0}.py'.format(os.path.splitext(six.__file__)[0])
|
six_py_file = '{0}.py'.format(os.path.splitext(six.__file__)[0])
|
||||||
exec(open(six_py_file, 'rb').read())
|
with open(six_py_file, 'rb') as f: exec(f.read())
|
||||||
|
|
Loading…
Reference in New Issue