[New-bugs-announce] [issue25686] Don't use distutils in test_shutil

Serhiy Storchaka report at bugs.python.org
Fri Nov 20 17:13:35 EST 2015


New submission from Serhiy Storchaka:

The distutils package is used in test_shutil to search and run external archivers. But using distutils can have side effects (see issue25607).

Proposed patch replaces distutils with standard functions for searching executables and running command, shutil.which() and subprocess.check_call().

----------
components: Tests
files: test_shutil_no_distutils.patch
keywords: patch
messages: 255023
nosy: eric.araujo, serhiy.storchaka, tarek
priority: normal
severity: normal
stage: patch review
status: open
title: Don't use distutils in test_shutil
type: enhancement
versions: Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file41105/test_shutil_no_distutils.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25686>
_______________________________________


More information about the New-bugs-announce mailing list