Why does the unit test fail of the pyPDF2 package?

MRAB python at mrabarnett.plus.com
Wed Jun 24 14:48:37 EDT 2015


On 2015-06-24 18:52, fl wrote:
> On Wednesday, June 24, 2015 at 9:54:12 AM UTC-7, fl wrote:
>> Hi,
>> I want to learn some coding on PDF. After I download and install pyPDF2,
>> it cannot pass unit test, which is coming from the package.
>>
>> I put a screen shot link here to show the console message:
>>
>> http://tinypic.com/view.php?pic=fbdpg0&s=8#.VYre8_lVhBc
>>
>> [IMG]http://i57.tinypic.com/fbdpg0.png[/IMG]
>>
>>
>> This Windows 7 PC has both Python 2.7 and Enthought Canopy (3.4?) installed.
>>
>> I don't know whether it has conflicts or not.
>>
>>
>> Thanks,
>
> Thanks, Steven. I don't know how to copy command console window contents
> to the forum post. I even try redirection hoping to screen contents to a
> text file, but it fails.
>
You can make a rectangular selection by dragging over the console
window the mouse pointer.

>
> Yes, there are extra '\n' in the extracted, but I don't know how to suppress
> it. Does anyone know how to make it the same of the expected?
>
> Thanks,
>




More information about the Python-list mailing list