diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-10-21 14:04:46 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-10-21 14:04:46 -0700 |
commit | c1059b97772e91468edbcacab6bd830ca1ffaa81 (patch) | |
tree | 5c0af98f5ecf64ee40c0c65d28bcae2269597633 | |
parent | df4d0171c3f0785c31f90a486787e3a19d797f00 (diff) | |
download | grobid_tei_xml-c1059b97772e91468edbcacab6bd830ca1ffaa81.tar.gz grobid_tei_xml-c1059b97772e91468edbcacab6bd830ca1ffaa81.zip |
remove reundant temporary test code
-rw-r--r-- | tests/test_grobid2json.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/test_grobid2json.py b/tests/test_grobid2json.py index e970868..7ee423c 100644 --- a/tests/test_grobid2json.py +++ b/tests/test_grobid2json.py @@ -12,9 +12,6 @@ def test_small_xml(): with open('tests/files/small.json', 'r') as f: json_form = json.loads(f.read()) - parsed = teixml2json(tei_xml) - for i in range(len(parsed['citations'])): - assert parsed['citations'][i] == json_form['citations'][i] assert teixml2json(tei_xml) == json_form def test_invalid_xml(): |