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

@@ -2,7 +2,7 @@
Common mixins for Course API Tests
"""
from __future__ import absolute_import
from datetime import datetime

View File

@@ -1,7 +1,7 @@
"""
Test for course API
"""
from __future__ import absolute_import
from hashlib import md5

View File

@@ -2,7 +2,7 @@
Tests for Course API forms.
"""
from __future__ import absolute_import
from itertools import product

View File

@@ -2,7 +2,7 @@
Test authorization functions
"""
from __future__ import absolute_import
from django.contrib.auth.models import AnonymousUser
from django.test import TestCase

View File

@@ -2,7 +2,7 @@
Test data created by CourseSerializer and CourseDetailSerializer
"""
from __future__ import absolute_import, unicode_literals
from datetime import datetime

View File

@@ -1,7 +1,7 @@
"""
Tests for Course API views.
"""
from __future__ import absolute_import
from datetime import datetime
from hashlib import md5