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 <rep...@bugs.python.org> <http://bugs.python.org/issue16644> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com