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:
Feanil Patel
2019-12-30 10:35:30 -05:00
parent 52a1a72c97
commit 9cf2f9f298
2829 changed files with 2851 additions and 2851 deletions

View File

@@ -1,7 +1,7 @@
"""
Test scenarios for the crowdsource hinter xblock.
"""
from __future__ import absolute_import
import unittest

View File

@@ -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

View File

@@ -7,7 +7,7 @@ run v1 tests only.
That be the dragon here.
"""
from __future__ import absolute_import, print_function
import pkg_resources

View File

@@ -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

View File

@@ -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