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
5d8b2b82
Commit
5d8b2b82
authored
Jul 14, 2015
by
Sean Bleier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some python 2.6 compatibility.
parent
4d620d66
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
base_tests.py
tests/testapp/tests/base_tests.py
+7
-1
tcp_tests.py
tests/testapp/tests/tcp_tests.py
+0
-2
No files found.
tests/testapp/tests/base_tests.py
View file @
5d8b2b82
...
...
@@ -2,8 +2,14 @@
from
hashlib
import
sha1
import
os
import
subprocess
import
sys
import
time
import
unittest
if
sys
.
version_info
<
(
2
,
7
):
import
unittest2
as
unittest
else
:
import
unittest
try
:
import
cPickle
as
pickle
...
...
tests/testapp/tests/tcp_tests.py
View file @
5d8b2b82
...
...
@@ -123,5 +123,3 @@ class MultipleHiredisTestCase(MultiServerTests, TCPTestCase):
)
class
MultiplePythonParserTestCase
(
MultiServerTests
,
TCPTestCase
):
pass
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