mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Refs #23919 -- Removed six.PY2/PY3 usage
Thanks Tim Graham for the review.
This commit is contained in:
parent
e63d98b7be
commit
c716fe8782
111 changed files with 305 additions and 1296 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue