mirror of
https://github.com/jsvine/pdfplumber.git
synced 2026-08-30 00:50:24 +08:00
302b8a72ad
Big thanks to @jeffbarrera for flagging: https://github.com/jsvine/pdfplumber/issues/14
16 lines
335 B
Python
16 lines
335 B
Python
#!/usr/bin/env python
|
|
import unittest
|
|
import pdfplumber
|
|
import sys, os
|
|
|
|
import logging
|
|
logging.disable(logging.ERROR)
|
|
|
|
HERE = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
class Test(unittest.TestCase):
|
|
|
|
def test_load(self):
|
|
path = os.path.join(HERE, "pdfs/cupertino_usd_4-6-16.pdf")
|
|
pdf = pdfplumber.from_path(path)
|