[New-bugs-announce] [issue16644] Wrong code in ContextManagerTests.test_invalid_args() in test_subprocess.py
Serhiy Storchaka
report at bugs.python.org
Sat Dec 8 18:03:55 CET 2012
New submission from Serhiy Storchaka:
Test ContextManagerTests.test_invalid_args() in file Lib/test/test_subprocess.py contains code which has no sense. When Popen() fail then this code will not reachable. When Popen() success then c.exception will not assigned.
Here is a patch with right test.
----------
components: Tests
files: test_subprocess_test_invalid_args.patch
keywords: patch
messages: 177164
nosy: ezio.melotti, michael.foord, pitrou, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Wrong code in ContextManagerTests.test_invalid_args() in test_subprocess.py
type: behavior
versions: Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file28259/test_subprocess_test_invalid_args.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16644>
_______________________________________
More information about the New-bugs-announce
mailing list