libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject git commit: fix lint.
Date Mon, 04 Nov 2013 20:49:12 GMT
Updated Branches:
  refs/heads/trunk 4b755a8bc -> b4aa97231


fix lint.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/b4aa9723
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/b4aa9723
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/b4aa9723

Branch: refs/heads/trunk
Commit: b4aa972315b967467bdecd7a958a14cdcf7ef8ea
Parents: 4b755a8
Author: Tomaz Muraus <tomaz@apache.org>
Authored: Mon Nov 4 20:49:03 2013 +0000
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Mon Nov 4 20:49:03 2013 +0000

----------------------------------------------------------------------
 libcloud/test/test_utils.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/b4aa9723/libcloud/test/test_utils.py
----------------------------------------------------------------------
diff --git a/libcloud/test/test_utils.py b/libcloud/test/test_utils.py
index caac295..a4f8531 100644
--- a/libcloud/test/test_utils.py
+++ b/libcloud/test/test_utils.py
@@ -27,7 +27,7 @@ import libcloud.utils.files
 
 from libcloud.utils.misc import get_driver, set_driver
 
-from libcloud.utils.py3 import PY3, PY32
+from libcloud.utils.py3 import PY3
 from libcloud.utils.py3 import StringIO
 from libcloud.utils.py3 import b
 from libcloud.utils.py3 import urlquote
@@ -215,15 +215,15 @@ class TestUtils(unittest.TestCase):
         else:
             val = codecs.unicode_escape_decode('\xe9')[0]
 
-        uri = libcloud.utils.py3.urlquote(val)
+        uri = urlquote(val)
         self.assertEqual(b(uri), b('%C3%A9'))
 
         # Unicode without unicode characters
-        uri = libcloud.utils.py3.urlquote('~abc')
+        uri = urlquote('~abc')
         self.assertEqual(b(uri), b('%7Eabc'))
 
         # Already-encoded bytestring without unicode characters
-        uri = libcloud.utils.py3.urlquote(b('~abc'))
+        uri = urlquote(b('~abc'))
         self.assertEqual(b(uri), b('%7Eabc'))
 
 


Mime
View raw message