Skip to content

Commit

Permalink
Fixes typo in README & small changes to tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dipietrantonio committed Apr 13, 2020
1 parent 6f8c0cf commit b1478ba
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -50,7 +50,7 @@ Therefore, they require a separate implementation built on top of `pdf4py`.

One day at work I was asked to analyze some PDF files; to my surprise I have discovered that
there is not an established Python module to easily parse a PDF document. In order to understand
why I delved into the PDF 1.7 specification: since from moment on, I got more and more interested
why I delved into the PDF 1.7 specification: since that moment I've got interested more and more
in the inner workings of one of the most important and ubiquitous file format. And what's
a better way to understand the PDF than writing a parser for it?

Expand Down
2 changes: 1 addition & 1 deletion tests/decrypt_unit_tests.py
Expand Up @@ -31,7 +31,7 @@

class RC4TestCase(unittest.TestCase):

@unittest.skipUnless(RUN_ALL_TESTS, "debug_purposes")

def test_rc4_encrypt(self):
plain = b"Hello world!"
expected_ciphertext = b"\x48\x9d\x12\x0b\x4b\x13\x62\xf3\x0d\x5b\x46\x97"
Expand Down
1 change: 0 additions & 1 deletion tests/functional_tests.py
Expand Up @@ -84,7 +84,6 @@ def test_read(self):

class ParseAllPDFs(unittest.TestCase):

@unittest.skip('takes too long')
@unittest.skipUnless(RUN_ALL_TESTS, "debug_purposes")
def test_all_pdfs(self):
for pdfPath in os.listdir(PDFS_FOLDER):
Expand Down

0 comments on commit b1478ba

Please sign in to comment.