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


Groups > comp.lang.python > #93097

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

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python@mrabarnett.plus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'installed.': 0.05; 'test,': 0.05; 'mouse': 0.07; 'subject:test': 0.07; 'suppress': 0.07; 'wednesday,': 0.07; 'fails.': 0.09; 'subject:Why': 0.09; 'python': 0.11; '2.7': 0.13; 'file,': 0.15; '24,': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:192.168.1.4': 0.16; 'wrote:': 0.16; 'url:view': 0.18; 'thanks,': 0.19; 'windows': 0.20; 'pass': 0.22; '2015': 0.23; 'header:In-Reply-To:1': 0.24; 'install': 0.25; 'header:User- Agent:1': 0.26; 'coding': 0.27; 'not.': 0.27; 'package.': 0.27; 'command': 0.28; 'pointer.': 0.29; 'selection': 0.29; 'window': 0.31; 'screen': 0.32; 'anyone': 0.32; 'subject:?': 0.34; 'to:addr :python-list': 0.35; 'but': 0.36; 'text': 0.36; 'there': 0.36; 'hi,': 0.37; 'subject:: ': 0.37; 'unit': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'subject:the': 0.40; 'some': 0.40; 'learn': 0.60; 'even': 0.61; 'show': 0.62; 'here': 0.66; 'hoping': 0.73; 'pdf.': 0.84; 'utc-7,': 0.84; 'url:php': 0.86; 'url:tinypic': 0.93
X-CM-Score 0.00
X-CNFS-Analysis v=2.1 cv=JOrGyJ+b c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=QrohdLjRRo4A:10 a=IkcTkHD0fZMA:10 a=EBOSESyhAAAA:8 a=6VBaUAmcAAAA:8 a=gZ9a87gvAAAA:20 a=wWfOVxQgPGqauGGN3xwA:9 a=QEXdDO2ut3YA:10 a=I0G0oB7h_QEA:10
X-AUTH mrabarnett@:2500
Date Wed, 24 Jun 2015 19:48:37 +0100
From MRAB <python@mrabarnett.plus.com>
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Why does the unit test fail of the pyPDF2 package?
References <3d9cd33f-f12d-48bc-a645-26e55c31f168@googlegroups.com> <252d5aad-e71e-4916-803a-f3b1762f2123@googlegroups.com>
In-Reply-To <252d5aad-e71e-4916-803a-f3b1762f2123@googlegroups.com>
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.30.1435171723.3674.python-list@python.org> (permalink)
Lines 34
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1435171723 news.xs4all.nl 2871 [2001:888:2000:d::a6]:50803
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:93097

Show key headers only | View raw


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,
>

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