mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #23919 -- Removed six.PY2/PY3 usage
Thanks Tim Graham for the review.
This commit is contained in:
@@ -8,7 +8,6 @@ from django.db.models import (
|
||||
)
|
||||
from django.db.models.functions import Lower
|
||||
from django.test import TestCase, skipUnlessDBFeature
|
||||
from django.utils import six
|
||||
|
||||
from .models import (
|
||||
Author, Book, Company, DepartmentStore, Employee, Publisher, Store, Ticket,
|
||||
@@ -24,7 +23,7 @@ def cxOracle_py3_bug(func):
|
||||
"""
|
||||
from unittest import expectedFailure
|
||||
from django.db import connection
|
||||
return expectedFailure(func) if connection.vendor == 'oracle' and six.PY3 else func
|
||||
return expectedFailure(func) if connection.vendor == 'oracle' else func
|
||||
|
||||
|
||||
class NonAggregateAnnotationTestCase(TestCase):
|
||||
|
||||
Reference in New Issue
Block a user