@@ -0,0 +1,497 @@
+%0Afrom os.path import abspath, dirname, join as pjoin%0A%0Afrom pdftables.pdf_document import PDFDocument%0A%0Amemoized = %7B%7D%0A%0Adef fixture(filename):%0A%09%22%22%22%0A%09Obtain a PDFDocument for fixtures/sample_data/%7Bfilename%7D, memoizing the%0A%09return result.%0A%09%22%22%22%0A%09global memoized%0A%0A%09if filename in memoized:%0A%09%09return memoized.get(filename)%0A%09here = abspath(dirname(__file__))%0A%09fn = pjoin(here, %22..%22, %22fixtures%22, %22sample_data%22, filename)%0A%09fd = open(fn, %22rb%22)%0A%09memoized%5Bfilename%5D = PDFDocument(fd)%0A%09return memoized%5Bfilename%5D%0A

Add test/fixtures.py