libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [8/9] libcloud git commit: Fixing unicode for py3+
Date Mon, 07 Mar 2016 09:46:59 GMT
Fixing unicode for py3+


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

Branch: refs/heads/trunk
Commit: e43ca1d220274114856a1e9afe1c15bd321b9bc1
Parents: dc5bbce
Author: Jeffrey Dunham <jeffrey.a.dunham@gmail.com>
Authored: Tue Feb 2 21:07:07 2016 -0500
Committer: anthony-shaw <anthony.p.shaw@gmail.com>
Committed: Mon Mar 7 20:46:16 2016 +1100

----------------------------------------------------------------------
 libcloud/test/compute/test_dimensiondata.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/e43ca1d2/libcloud/test/compute/test_dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_dimensiondata.py b/libcloud/test/compute/test_dimensiondata.py
index 90854bf..fd1b6b2 100644
--- a/libcloud/test/compute/test_dimensiondata.py
+++ b/libcloud/test/compute/test_dimensiondata.py
@@ -729,7 +729,7 @@ class DimensionDataTests(unittest.TestCase, TestCaseMixin):
         )
 
     def test_priv_location_to_location_id_UNICODE(self):
-        datacenter = unicode('NA9')
+        datacenter = u'NA9'
         self.assertEqual(
             self.driver._location_to_location_id(datacenter),
             'NA9'


Mime
View raw message