Commit 5d8b2b82 authored by Sean Bleier's avatar Sean Bleier

Add some python 2.6 compatibility.

parent 4d620d66
...@@ -2,8 +2,14 @@ ...@@ -2,8 +2,14 @@
from hashlib import sha1 from hashlib import sha1
import os import os
import subprocess import subprocess
import sys
import time import time
import unittest
if sys.version_info < (2, 7):
import unittest2 as unittest
else:
import unittest
try: try:
import cPickle as pickle import cPickle as pickle
......
...@@ -123,5 +123,3 @@ class MultipleHiredisTestCase(MultiServerTests, TCPTestCase): ...@@ -123,5 +123,3 @@ class MultipleHiredisTestCase(MultiServerTests, TCPTestCase):
) )
class MultiplePythonParserTestCase(MultiServerTests, TCPTestCase): class MultiplePythonParserTestCase(MultiServerTests, TCPTestCase):
pass pass
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment