New submission from Steve Dower: platform._syscmd_ver() calls platform.popen() which raises a DeprecationWarning. This causes tests with `@skip(platform.machine() == '...')` decorators to fail.
The fix is to call `os.popen()` - patch attached. (platform.popen() just raises the warning and then calls os.popen(), so should be no risk here.) Larry - since this causes spurious failures in numpy's test suite, can we get it into 3.5? ---------- files: platform_popen.patch keywords: patch messages: 248364 nosy: larry, lemburg, steve.dower priority: normal severity: normal stage: needs patch status: open title: platform._syscmd_ver raises DeprecationWarning type: behavior versions: Python 3.5, Python 3.6 Added file: http://bugs.python.org/file40158/platform_popen.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24839> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com