Files
pdfplumber/tests/test-list-metadata.py
T
Jeremy Singer-Vine 302b8a72ad Fix resolution/decoding of list-type metadata
Big thanks to @jeffbarrera for flagging:
https://github.com/jsvine/pdfplumber/issues/14
2016-05-24 16:41:03 -04:00

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)