py-pdf-parser
py-pdf-parser copied to clipboard
Py PDF Parser tests are distributed in PyPi wheels
Bug Report
Py PDF Parser tests are included in the wheel file uploaded to PyPi and are distributed to users when they download. Downloading and inspecting py-pdf-parser-0.12.0.tar.gz will reveal this.
This conflicts with imports as this package can actually be imported from any python file. The contents of the file show it belongs to PyPDFParser
>>> from tests import test_filtering
>>> dir(test_filtering)
['BaseTestCase', 'BoundingBox', 'ElementList', 'ElementOutOfRangeError', 'FakePDFMinerTextElement', 'MultipleElementsFoundError', 'NoElementFoundError', 'PDFDocument', 'PDFElement', 'Page', 'TestFiltering', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', 'call', 'create_pdf_document', 'patch', 're']
Folder view of tests
in site-packages