[issue16114] incorrect path in subprocess.Popen() FileNotFoundError message

Chris Jerdonek report at bugs.python.org
Wed Oct 10 13:25:39 CEST 2012


Chris Jerdonek added the comment:

I made some comments on the changes as committed here:

http://mail.python.org/pipermail/python-dev/2012-October/122125.html

"""
It would be cleaner to use the self.assertRaises() pattern here and
also probably better to share code across the three test methods which
are nearly identical to one another (there is a fourth scenario I
would also add of shell=True).

I would also check for FileNotFoundError instead of OSError in the 3.3
and later versions.
"""

----------

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


More information about the Python-bugs-list mailing list