Run 2to3 -f future . -w
This will remove imports from __future__ that are no longer needed. https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
Test scenarios for the crowdsource hinter xblock.
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
import unittest
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ Tests for the DoneXBlock.
|
||||
This is nice as a simple example of the edX XBlock test framework.
|
||||
'''
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
from openedx.tests.xblock_integration.xblock_testcase import XBlockTestCase
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ run v1 tests only.
|
||||
|
||||
That be the dragon here.
|
||||
"""
|
||||
from __future__ import absolute_import, print_function
|
||||
|
||||
|
||||
import pkg_resources
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ This test file will run through some XBlock test scenarios regarding the
|
||||
recommender system
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
import codecs
|
||||
from io import BytesIO
|
||||
|
||||
@@ -34,7 +34,7 @@ Our next steps would be to:
|
||||
* Move more blocks out of the platform, and more tests into the
|
||||
blocks themselves.
|
||||
"""
|
||||
from __future__ import absolute_import, print_function
|
||||
|
||||
|
||||
import collections
|
||||
import json
|
||||
|
||||
Reference in New Issue
Block a user