summaryrefslogtreecommitdiffstats
path: root/tests/test_scrub.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-06-03 22:46:16 -0700
committerBryan Newbold <bnewbold@archive.org>2020-06-03 22:46:16 -0700
commit62d3299471b7b4229ae63e21e9d45ef7efde4348 (patch)
treefc0d04531ce4c81224723bd3646c88f74c7c42a2 /tests/test_scrub.py
parent58688676ee2d96d9d7006e2fd8a14d47f271aa8f (diff)
downloadfatcat-scholar-62d3299471b7b4229ae63e21e9d45ef7efde4348.tar.gz
fatcat-scholar-62d3299471b7b4229ae63e21e9d45ef7efde4348.zip
reformat python code with black
Diffstat (limited to 'tests/test_scrub.py')
-rw-r--r--tests/test_scrub.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_scrub.py b/tests/test_scrub.py
index 6c357ae..5929b65 100644
--- a/tests/test_scrub.py
+++ b/tests/test_scrub.py
@@ -1,4 +1,3 @@
-
import pytest
from fatcat_scholar.schema import *
@@ -6,10 +5,12 @@ from fatcat_scholar.schema import *
def test_scrub():
vectors = [
- ('“Please clean this piece… of text</b>„', '"Please clean this piece... of text"'),
+ (
+ "“Please clean this piece… of text</b>„",
+ '"Please clean this piece... of text"',
+ ),
("<jats:p>blah", "blah"),
]
for raw, fixed in vectors:
assert fixed == scrub_text(raw)
-