This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author flox
Recipients flox
Date 2009-11-23.13:39:58
SpamBayes Score 0.0013954667
Marked as misclassified No
Message-id <1258983601.52.0.689931989197.issue7381@psf.upfronthosting.co.za>
In-reply-to
Content
I fixed the docstring inconsistency (see patch) and some obvious things.

But I still have errors.


~ $ python3 -m doctest py3_failed/subprocess.py
**********************************************************************
File "py3_failed/subprocess.py", line 139, in subprocess
Failed example:
    subprocess.getstatusoutput('/bin/junk')
Expected:
    (256, 'sh: /bin/junk: not found')
Got:
    (32512, '/bin/sh: /bin/junk: No such file or directory')
**********************************************************************
File "py3_failed/subprocess.py", line 449, in subprocess.check_output
Failed example:
    check_output(["ls", "-l", "/dev/null"])
Expected:
    b'crw-rw-rw- 1 root root 1, 3 Oct 18  2007 /dev/null\n'
Got:
    b'crw-rw-rw- 1 root root 1, 3 Nov 15 17:41 /dev/null\n'
**********************************************************************
File "py3_failed/subprocess.py", line 455, in subprocess.check_output
Failed example:
    check_output(["/bin/sh", "-c",
                  "ls -l non_existent_file ; exit 0"],
                  stderr=STDOUT)
Expected:
    b'ls: non_existent_file: No such file or directory\n'
Got:
    b'ls: cannot access non_existent_file: No such file or directory\n'
**********************************************************************
File "py3_failed/subprocess.py", line 559, in subprocess.getstatusoutput
Failed example:
    subprocess.getstatusoutput('/bin/junk')
Expected:
    (256, 'sh: /bin/junk: not found')
Got:
    (32512, '/bin/sh: /bin/junk: No such file or directory')
**********************************************************************
3 items had failures:
   1 of   6 in subprocess
   2 of   2 in subprocess.check_output
   1 of   4 in subprocess.getstatusoutput
***Test Failed*** 4 failures.
~ $
History
Date User Action Args
2009-11-23 13:40:01floxsetrecipients: + flox
2009-11-23 13:40:01floxsetmessageid: <1258983601.52.0.689931989197.issue7381@psf.upfronthosting.co.za>
2009-11-23 13:39:59floxlinkissue7381 messages
2009-11-23 13:39:59floxcreate