Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556186 - =dev-python/PyPDF2-1.25 test failure in bump to version 1.25
Summary: =dev-python/PyPDF2-1.25 test failure in bump to version 1.25
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL: https://github.com/mstamy2/PyPDF2/iss...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2015-07-29 03:26 UTC by Ian Delaney (RETIRED)
Modified: 2015-08-21 06:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
my emerge --info (emerge.info,6.08 KB, application/x-info)
2015-07-29 03:26 UTC, Ian Delaney (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2015-07-29 03:26:12 UTC
Created attachment 407852 [details]
my emerge --info

F
======================================================================
FAIL: test_PdfReaderFileLoad (Tests.tests.PdfReaderTestCases)
Test loading and parsing of a file. Extract text of the file and compare to expected
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Tests/tests.py", line 35, in test_PdfReaderFileLoad
    % (pdftext, ipdf_p1_text.encode('utf-8', errors='ignore')))
AssertionError: PDF extracted text differs from expected value.

Expected:

'TheCrazyOnesOctober14,1998Herestothecrazyones.Themis\xcb\x9dts.Therebels.Thetroublemakers.Theroundpegsinthesquareholes.Theoneswhoseethingsdi\xcb\x99erently.Theyrenotfondofrules.Andtheyhavenorespectforthestatusquo.Youcanquotethem,disagreewiththem,glorifyorvilifythem.Abouttheonlythingyoucantdoisignorethem.Becausetheychangethings.Theyinvent.Theyimagine.Theyheal.Theyexplore.Theycreate.Theyinspire.Theypushthehumanraceforward.Maybetheyhavetobecrazy.Howelsecanyoustareatanemptycanvasandseeaworkofart?Orsitinsilenceandhearasongthatsneverbeenwritten?Orgazeataredplanetandseealaboratoryonwheels?Wemaketoolsforthesekindsofpeople.Whilesomeseethemasthecrazyones,weseegenius.Becausethepeoplewhoarecrazyenoughtothinktheycanchangetheworld,aretheoneswhodo.'

Extracted:

'TheCrazyOnes\nOctober14,1998\nHerestothecrazyones.Themis\xcb\x9dts.Therebels.Thetroublemakers.\nTheroundpegsinthesquareholes.\nTheoneswhoseethingsdi\xcb\x99erently.Theyrenotfondofrules.And\ntheyhavenorespectforthestatusquo.Youcanquotethem,\ndisagreewiththem,glorifyorvilifythem.\nAbouttheonlythingyoucantdoisignorethem.Becausetheychange\nthings.Theyinvent.Theyimagine.Theyheal.Theyexplore.They\ncreate.Theyinspire.Theypushthehumanraceforward.\nMaybetheyhavetobecrazy.\nHowelsecanyoustareatanemptycanvasandseeaworkofart?Or\nsitinsilenceandhearasongthatsneverbeenwritten?Orgazeat\naredplanetandseealaboratoryonwheels?\nWemaketoolsforthesekindsofpeople.\nWhilesomeseethemasthecrazyones,weseegenius.Becausethe\npeoplewhoarecrazyenoughtothinktheycanchangetheworld,\naretheoneswhodo.\n'



----------------------------------------------------------------------
Ran 1 test in 0.049s

FAILED (failures=1)

run with recommended form:   "${PYTHON}" -m unittest Tests.tests

It has one test and fails it.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2015-08-16 15:11:33 UTC
Same outcome for -1.25.1. Bumped with RESTRICT="test"
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2015-08-21 06:55:41 UTC
from link;
This is a known issue.

In fact, this means that your installation of PyPDF2 is working.