mirror of
https://github.com/Hopiu/django-cachalot.git
synced 2026-05-10 13:44:44 +00:00
Removes the last Python 2.6 compatibility code.
This commit is contained in:
parent
14151bc1fd
commit
dcfffbc9a0
1 changed files with 2 additions and 7 deletions
|
|
@ -1,15 +1,10 @@
|
|||
# coding: utf-8
|
||||
|
||||
from __future__ import unicode_literals
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
|
||||
try:
|
||||
from unittest import skipIf
|
||||
except ImportError: # For Python 2.6
|
||||
from unittest2 import skipIf
|
||||
from unittest import skipIf
|
||||
|
||||
from django.conf import settings
|
||||
from django.contrib.auth.models import User
|
||||
from django.db import DEFAULT_DB_ALIAS
|
||||
from django.test import TransactionTestCase
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue