diff --git a/common/lib/capa/capa/tests/test_html_render.py b/common/lib/capa/capa/tests/test_html_render.py index 4bfe49ccae..47638cc19f 100644 --- a/common/lib/capa/capa/tests/test_html_render.py +++ b/common/lib/capa/capa/tests/test_html_render.py @@ -10,9 +10,6 @@ import unittest import ddt import mock from lxml import etree - -# Changes formatting of empty elements; import here to avoid test order dependence -import xmodule.modulestore.xml # pylint: disable=unused-import from capa.tests.helpers import new_loncapa_problem, test_capa_system from openedx.core.djangolib.markup import HTML diff --git a/common/lib/capa/capa/tests/test_targeted_feedback.py b/common/lib/capa/capa/tests/test_targeted_feedback.py index 628279df9a..9161fc18cd 100644 --- a/common/lib/capa/capa/tests/test_targeted_feedback.py +++ b/common/lib/capa/capa/tests/test_targeted_feedback.py @@ -6,9 +6,6 @@ i.e. those with the element import textwrap import unittest - -# Changes formatting of empty elements; import here to avoid test order dependence -import xmodule.modulestore.xml # pylint: disable=unused-import from capa.tests.helpers import load_fixture, new_loncapa_problem, test_capa_system diff --git a/common/lib/conftest.py b/common/lib/conftest.py index 03bd8596e5..daab9ba264 100644 --- a/common/lib/conftest.py +++ b/common/lib/conftest.py @@ -7,8 +7,6 @@ import pytest from safe_lxml import defuse_xml_libs -from openedx.core.pytest_hooks import pytest_configure # pylint: disable=unused-import - defuse_xml_libs() diff --git a/common/lib/symmath/symmath/formula.py b/common/lib/symmath/symmath/formula.py index d72389b72c..1169113251 100644 --- a/common/lib/symmath/symmath/formula.py +++ b/common/lib/symmath/symmath/formula.py @@ -21,7 +21,6 @@ import unicodedata #import subprocess from copy import deepcopy from functools import reduce -from xml.sax.saxutils import unescape # lint-amnesty, pylint: disable=unused-import import six import sympy