Merge pull request #26505 from edx/jawayria/bom-2351-5
BOM-2351: Removed unused imports from common/lib/{capa, safe_lxml, sy…
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -6,9 +6,6 @@ i.e. those with the <multiplechoiceresponse> 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
|
||||
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user