aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/test_xml.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/test_xml.py')
-rw-r--r--python/tests/test_xml.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/tests/test_xml.py b/python/tests/test_xml.py
index a996c56..786f863 100644
--- a/python/tests/test_xml.py
+++ b/python/tests/test_xml.py
@@ -1,12 +1,11 @@
-
import pytest
from sandcrawler.xml import xml_reserialize
def test_xml_reserialize() -> None:
-
- with open('tests/files/scielo_article.jats.xml', 'rb') as f:
+
+ with open("tests/files/scielo_article.jats.xml", "rb") as f:
raw_xml = f.read()
assert b'encoding="ISO-8859-1"' in raw_xml