Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AssertionError] Branch pmr_dict fail #22

Closed
nitikabaghel opened this issue Jun 6, 2024 · 1 comment
Closed

[AssertionError] Branch pmr_dict fail #22

nitikabaghel opened this issue Jun 6, 2024 · 1 comment

Comments

@nitikabaghel
Copy link
Collaborator

nitikabaghel commented Jun 6, 2024

System: Windows 11, Python 3.12.3

______________________________________________________________ PDFPlumberTest.test_misc_pdf _______________________________________________________________

self = <test.test_pdf.PDFPlumberTest testMethod=test_misc_pdf>

    def test_misc_pdf(self):
        """Parses an arbitrary PDF with PDFPlumber and outputs HTML to a given directory"""
        input_pdf = Path("/Users/pm286/workspace/misc/380981eng.pdf")
>       assert Path(input_pdf).exists(), f"{input_pdf} should exist"
E       AssertionError: \Users\pm286\workspace\misc\380981eng.pdf should exist
E       assert False
E        +  where False = <bound method Path.exists of WindowsPath('/Users/pm286/workspace/misc/380981eng.pdf')>()
E        +    where <bound method Path.exists of WindowsPath('/Users/pm286/workspace/misc/380981eng.pdf')> = WindowsPath('/Users/pm286/workspace/misc/380981eng.pdf').exists
E        +      where WindowsPath('/Users/pm286/workspace/misc/380981eng.pdf') = Path(WindowsPath('/Users/pm286/workspace/misc/380981eng.pdf'))

test\test_pdf.py:202: AssertionError

================================================================= short test summary info =================================================================

FAILED test/test_pdf.py::PDFPlumberTest::test_misc_pdf - AssertionError: \Users\pm286\workspace\misc\380981eng.pdf should exist

============================================ 3 failed, 221 passed, 83 skipped, 4 warnings in 182.20s (0:03:02) ============================================


@nitikabaghel nitikabaghel changed the title [AssertionError] Branch pmr_dict pytest fail [AssertionError] Branch pmr_dict fail Jun 6, 2024
@petermr
Copy link
Owner

petermr commented Jun 6, 2024

Hmmm
missing file - can't find on my machine.
Mystery.

Bad test we need to replace

@petermr petermr closed this as completed Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants