Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #93103

Re: Why does the unit test fail of the pyPDF2 package?

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Why does the unit test fail of the pyPDF2 package?
Date 2015-06-24 21:02 +0100
References <3d9cd33f-f12d-48bc-a645-26e55c31f168@googlegroups.com> <252d5aad-e71e-4916-803a-f3b1762f2123@googlegroups.com> <558AFB85.8020602@mrabarnett.plus.com>
Newsgroups comp.lang.python
Message-ID <mailman.33.1435176176.3674.python-list@python.org> (permalink)

Show all headers | View raw


On 24/06/2015 19:48, MRAB wrote:
> 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.
>

An alternative is to install ConEmu and set up a startup.txt file.  My 
heavily encrypted :) version follows

cmd /F:ON /T:02 /K cd C:\Users\Mark\Documents\MyPython 
"-new_console:t:MyPython"
cmd /F:ON /T:02 /K cd c:\Users\Mark\pythonissues "-new_console:t:Python 
Issues"
cmd /F:ON /T:02 /K cd c:\cPython\PCBuild "-new_console:t:cPython"
cmd /F:ON /T:02 /K cd C:\Users\Mark\Documents\Cash\Python 
"-new_console:t:Cash Python"
C:\Python34\Scripts\ipython.exe --matplotlib "-new_console:t:iPython"

Once you've overcome the encryption life is far, far easier on Windows. 
  You can do really advanced concepts like cut and paste relatively 
easily, but please don't take my word for it, try it yourself.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Why does the unit test fail of the pyPDF2 package? fl <rxjwg98@gmail.com> - 2015-06-24 09:53 -0700
  Re: Why does the unit test fail of the pyPDF2 package? Steven D'Aprano <steve@pearwood.info> - 2015-06-25 03:35 +1000
  Re: Why does the unit test fail of the pyPDF2 package? fl <rxjwg98@gmail.com> - 2015-06-24 10:52 -0700
    Re: Why does the unit test fail of the pyPDF2 package? MRAB <python@mrabarnett.plus.com> - 2015-06-24 19:48 +0100
    Re: Why does the unit test fail of the pyPDF2 package? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-06-24 21:02 +0100
    Re: Why does the unit test fail of the pyPDF2 package? Steven D'Aprano <steve@pearwood.info> - 2015-06-25 11:20 +1000
    Re: Why does the unit test fail of the pyPDF2 package? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-06-24 21:39 -0400
  Re: Why does the unit test fail of the pyPDF2 package? fl <rxjwg98@gmail.com> - 2015-06-24 12:02 -0700
    Re: Why does the unit test fail of the pyPDF2 package? John Gordon <gordon@panix.com> - 2015-06-24 19:13 +0000
    Re: Why does the unit test fail of the pyPDF2 package? Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2015-06-24 19:13 +0000
  Re: Why does the unit test fail of the pyPDF2 package? fl <rxjwg98@gmail.com> - 2015-06-24 12:50 -0700

csiph-web