[Python-modules-commits] [python-urllib3] 08/15: Use system python-six

Daniele Tricoli eriol-guest at moszumanska.debian.org
Thu May 26 03:59:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

eriol-guest pushed a commit to branch master
in repository python-urllib3.

commit ab3089d49c5611ecfc48d876fc2fc15938bb57e2
Author: Daniele Tricoli <eriol at mornie.org>
Date:   Thu May 26 04:56:55 2016 +0200

    Use system python-six
---
 test/with_dummyserver/test_chunked_transfer.py | 2 +-
 test/with_dummyserver/test_connectionpool.py   | 2 +-
 test/with_dummyserver/test_https.py            | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/with_dummyserver/test_chunked_transfer.py b/test/with_dummyserver/test_chunked_transfer.py
index 1d58e23..abfc777 100644
--- a/test/with_dummyserver/test_chunked_transfer.py
+++ b/test/with_dummyserver/test_chunked_transfer.py
@@ -1,7 +1,7 @@
 # -*- coding: utf-8 -*-
 
 from urllib3 import HTTPConnectionPool
-from urllib3.packages import six
+import six
 from dummyserver.testcase import SocketDummyServerTestCase
 
 
diff --git a/test/with_dummyserver/test_connectionpool.py b/test/with_dummyserver/test_connectionpool.py
index 0f31fa0..b3b72ca 100644
--- a/test/with_dummyserver/test_connectionpool.py
+++ b/test/with_dummyserver/test_connectionpool.py
@@ -31,7 +31,7 @@ from urllib3.exceptions import (
     ProtocolError,
     NewConnectionError,
 )
-from urllib3.packages.six import b, u
+from six import b, u
 from urllib3.util.retry import Retry
 from urllib3.util.timeout import Timeout
 
diff --git a/test/with_dummyserver/test_https.py b/test/with_dummyserver/test_https.py
index 2c5f035..be54e3c 100644
--- a/test/with_dummyserver/test_https.py
+++ b/test/with_dummyserver/test_https.py
@@ -36,7 +36,7 @@ from urllib3.exceptions import (
     SystemTimeWarning,
     InsecurePlatformWarning,
 )
-from urllib3.packages import six
+import six
 from urllib3.util.timeout import Timeout
 import urllib3.util as util
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-urllib3.git



More information about the Python-modules-commits mailing list