From 53a8db955cbb22af78e0db37df17decc4bb00319 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Thu, 16 Jun 2022 19:42:44 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Consistently=20use=20lxml=20for?= =?UTF-8?q?=20etree?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qurator/modstool/tests/test_alto.py | 2 +- qurator/modstool/tests/test_mets.py | 2 +- qurator/modstool/tests/test_modstool.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qurator/modstool/tests/test_alto.py b/qurator/modstool/tests/test_alto.py index 154c848..5853154 100644 --- a/qurator/modstool/tests/test_alto.py +++ b/qurator/modstool/tests/test_alto.py @@ -1,4 +1,4 @@ -import xml.etree.ElementTree as ET +from lxml import etree as ET from qurator.modstool.alto4pandas import alto_to_dict diff --git a/qurator/modstool/tests/test_mets.py b/qurator/modstool/tests/test_mets.py index 315c7b6..6462050 100644 --- a/qurator/modstool/tests/test_mets.py +++ b/qurator/modstool/tests/test_mets.py @@ -1,4 +1,4 @@ -import xml.etree.ElementTree as ET +from lxml import etree as ET from qurator.modstool.modstool import mets_to_dict diff --git a/qurator/modstool/tests/test_modstool.py b/qurator/modstool/tests/test_modstool.py index c31e3e8..34ccd5e 100644 --- a/qurator/modstool/tests/test_modstool.py +++ b/qurator/modstool/tests/test_modstool.py @@ -1,6 +1,6 @@ from tkinter import W +from lxml import etree as ET import pytest -import xml.etree.ElementTree as ET from qurator.modstool.modstool import mods_to_dict