Skip to content

Commit

Permalink
fix: remove unnecessary imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ttqureshi committed Nov 7, 2024
1 parent 7bbf574 commit f6237b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions openassessment/xblock/load_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
from urllib.parse import urlparse

from django.conf import settings
try:
from xblock.utils.resources import ResourceLoader
except ModuleNotFoundError:
from xblockutils.resources import ResourceLoader
from xblock.utils.resources import ResourceLoader

logger = logging.getLogger(__name__) # pylint: disable=invalid-name

Expand Down
2 changes: 0 additions & 2 deletions openassessment/xblock/test/test_openassessment.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
import datetime as dt
from io import StringIO
import json
import unittest
import importlib
from unittest import mock
from unittest.mock import MagicMock, Mock, PropertyMock, patch
from django.test.utils import override_settings
Expand Down

0 comments on commit f6237b1

Please sign in to comment.