diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-06-03 22:46:16 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-06-03 22:46:16 -0700 |
commit | 62d3299471b7b4229ae63e21e9d45ef7efde4348 (patch) | |
tree | fc0d04531ce4c81224723bd3646c88f74c7c42a2 /tests/test_djvu_parse.py | |
parent | 58688676ee2d96d9d7006e2fd8a14d47f271aa8f (diff) | |
download | fatcat-scholar-62d3299471b7b4229ae63e21e9d45ef7efde4348.tar.gz fatcat-scholar-62d3299471b7b4229ae63e21e9d45ef7efde4348.zip |
reformat python code with black
Diffstat (limited to 'tests/test_djvu_parse.py')
-rw-r--r-- | tests/test_djvu_parse.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_djvu_parse.py b/tests/test_djvu_parse.py index abf5a4c..1f23de2 100644 --- a/tests/test_djvu_parse.py +++ b/tests/test_djvu_parse.py @@ -1,4 +1,3 @@ - import io from fatcat_scholar.djvu import djvu_extract_leaf_texts @@ -6,10 +5,10 @@ from fatcat_scholar.djvu import djvu_extract_leaf_texts def test_djvu_extract_leaf_texts(): # https://archive.org/details/ERIC_ED441501 - with open('tests/files/ERIC_ED441501_djvu.xml', 'r') as f: + with open("tests/files/ERIC_ED441501_djvu.xml", "r") as f: blob = f.read() - leaves = djvu_extract_leaf_texts(io.StringIO(blob), [3,6]) + leaves = djvu_extract_leaf_texts(io.StringIO(blob), [3, 6]) assert 3 in leaves assert 6 in leaves assert "2. Original cataloging tools" in leaves[3] |