Summary: | =dev-python/PyPDF2-1.25 test failure in bump to version 1.25 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ian Delaney (RETIRED) <idella4> |
Component: | [OLD] Library | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | Keywords: | TESTFAILURE |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/mstamy2/PyPDF2/issues/216 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | my emerge --info |
Same outcome for -1.25.1. Bumped with RESTRICT="test" from link; This is a known issue. In fact, this means that your installation of PyPDF2 is working. |
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.