Message94212
The xmlrpc tests were changed to use a StringIO object instead of a
temporary file (this change reflects the corresponding change made on
the 2.x trunk).
The tests then started failing, since xmlrpc.server assumes sys.stdout
will provide the buffer attribute, which is not a valid assumption. From
the io.TestIOBase documentation:
buffer
The underlying binary buffer (a BufferedIOBase instance) that
TextIOBase deals with. This is not part of the TextIOBase API and may
not exist on some implementations.
Assuming this attribute exists is a bug in xmlrpc.server that should be
fixed. |
|
Date |
User |
Action |
Args |
2009-10-18 12:40:49 | ncoghlan | set | recipients:
+ ncoghlan |
2009-10-18 12:40:49 | ncoghlan | set | messageid: <1255869649.48.0.335653342383.issue7165@psf.upfronthosting.co.za> |
2009-10-18 12:40:47 | ncoghlan | link | issue7165 messages |
2009-10-18 12:40:46 | ncoghlan | create | |
|