Add unittest2 for more testcases
MODIFY
test/test_connectionpool.py
test/test_connectionpool.py
from __future__ import absolute_import
+import sys
+if sys.version >= (2, 7):
import unittest
+else:
+ import unittest2 as unittest
from urllib3.connectionpool import (
connection_from_url,

MODIFY
test/test_no_ssl.py
test/test_no_ssl.py
@@ -6,7 +6,10 @@ Test what happens if Python was built without SSL
"""
import sys
+if sys.version >= (2, 7):
import unittest
+else:
+ import unittest2 as unittest
class ImportBlocker(object):

MODIFY
test/test_poolmanager.py
test/test_poolmanager.py
import functools
-import unittest
from collections import namedtuple
+import sys
+if sys.version >= (2, 7):
+ import unittest
+else:
+ import unittest2 as unittest
from urllib3.poolmanager import (
_default_key_normalizer,

MODIFY
test/test_queue_monkeypatch.py
test/test_queue_monkeypatch.py
from __future__ import absolute_import
import mock
+import sys
+if sys.version >= (2, 7):
import unittest
+else:
+ import unittest2 as unittest
import urllib3
from urllib3.exceptions import EmptyPoolError

Add unittest2 for more testcases