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 @@
|
||||
"""Factories for generating fake credentials-related data."""
|
||||
# pylint: disable=missing-docstring, invalid-name
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
import factory
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"""Mixins for use during testing."""
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
from openedx.core.djangoapps.credentials.models import CredentialsApiConfig
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"""Tests for models supporting Credentials-related functionality."""
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
from django.test import TestCase, override_settings
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
"""Tests covering Credentials signals."""
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
import ddt
|
||||
import mock
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
Test credentials tasks
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
import mock
|
||||
from django.conf import settings
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
"""Tests covering Credentials utilities."""
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
import uuid
|
||||
|
||||
|
||||
Reference in New Issue
Block a user