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 helpers for the course experience.
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
from datetime import timedelta
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
Tests for course dates fragment.
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"""
|
||||
Tests for the course home page.
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
Tests for the Course Outline view and supporting views.
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
import datetime
|
||||
import json
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Tests for course verification sock
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import mock
|
||||
|
||||
import ddt
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
Tests for the course updates page.
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
from datetime import datetime
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
Tests for course welcome messages.
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
import ddt
|
||||
import six
|
||||
|
||||
Reference in New Issue
Block a user