aboutsummaryrefslogtreecommitdiffstats
path: root/mapreduce/tests/test_grobid2json.py
diff options
context:
space:
mode:
Diffstat (limited to 'mapreduce/tests/test_grobid2json.py')
-rw-r--r--mapreduce/tests/test_grobid2json.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mapreduce/tests/test_grobid2json.py b/mapreduce/tests/test_grobid2json.py
index 1562006..8497b10 100644
--- a/mapreduce/tests/test_grobid2json.py
+++ b/mapreduce/tests/test_grobid2json.py
@@ -18,5 +18,5 @@ def test_invalid_xml():
with pytest.raises(xml.etree.ElementTree.ParseError):
teixml2json("this is not XML")
- with pytest.raises(xml.etree.ElementTree.ParseError):
+ with pytest.raises(ValueError):
teixml2json("<xml></xml>")