Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
Django-Redis-Cache
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shared
Django-Redis-Cache
Commits
8433d02e
Commit
8433d02e
authored
Aug 26, 2016
by
Tim Graham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unittest2/importlib shims for Python 2.6
parent
0a9b7f3e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
12 deletions
+2
-12
utils.py
redis_cache/utils.py
+1
-5
requirements-dev.txt
requirements-dev.txt
+0
-1
base_tests.py
tests/testapp/tests/base_tests.py
+1
-6
No files found.
redis_cache/utils.py
View file @
8433d02e
import
importlib
import
warnings
from
django.core.exceptions
import
ImproperlyConfigured
...
...
@@ -7,11 +8,6 @@ from redis_cache.compat import (
smart_text
,
python_2_unicode_compatible
,
parse_qs
,
urlparse
)
try
:
import
importlib
except
ImportError
:
from
django.utils
import
importlib
try
:
basestring
except
NameError
:
...
...
requirements-dev.txt
View file @
8433d02e
hiredis==0.2.0
django-nose==1.4
nose==1.3.6
unittest2==1.0.1
msgpack-python==0.4.6
pyyaml==3.11
tests/testapp/tests/base_tests.py
View file @
8433d02e
...
...
@@ -4,13 +4,8 @@ from __future__ import unicode_literals
from
hashlib
import
sha1
import
os
import
subprocess
import
sys
import
time
if
sys
.
version_info
<
(
2
,
7
):
import
unittest2
as
unittest
else
:
import
unittest
import
unittest
try
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment